Click to See Complete Forum and Search --> : Visual Studio Installer Problems


dmerchant
December 3rd, 1999, 01:22 AM
Hi,

I am using Windows Installer for deploying my application developed in VC++6.0 on a WindowsNt computer.

1)In my code I am using Functions like GetCurrentDir(),etc to get the directory where the exe is running from.
When I execute the application from the shortcuts(desktop or start menu) created by the installer, I get the current Directory as the directory where the shortcut
is running from and not the the installed folder. I also tried manipulating with the shortcut properties but was not succesfull

2)There is a Condition Property for each file being copied and I tried finding out the syntax for the Condition property in the windows installer help,but no luck


If somebody could provide a solution to this problem, it would be a great help


Thanks

Devang Merchant

Gary Grant
December 3rd, 1999, 10:20 AM
Try using App.Path