McGoogus McGrapple wrote:
> If you look at the pasted mark up below you'll see that my executable 
> is put in the "C:\Program Files\MyAppDirectory\" directory unless the 
> user chooses a different directory.  Then the value of INSTALLDIR is 
> changed.

How are you changing it? You have to use SetTargetPath control events, 
otherwise you're updating only the specific directory, not subdirectories.

> Now everything installs correctly and all shortcuts and such 
> work...but the app won't launch.  For testing, instead of launching 
> the app I had a property set with the value of [#MyAppExe].  The log 
> results show that even though INSTALLDIR was pointing to 
> "C:\InstallTest\" the value of [#MyAppExe] was still "C:\Program 
> Files\MyAppDirectory\MyApp.exe". 

It'll have that value until after the CostFinalize action, I believe.

-- 
sig://boB
http://joyofsetup.com/



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to