Hello,
I have all kinds of problems with a run from source installation. The
biggest problem is the fact that the installation directory is not
standard adjusted to the source location.
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="JustcroftDir" Name="!(loc.ManuFolderName)"
ShortName="!(loc.ManuShortFolderName)">
<Directory Id="INSTALLLOCATION" Name="!(loc.AppFolderName)"
ShortName="!(loc.AppShortFolderName)">
<Directory Id="binDir" Name="bin"/>
<Directory Id="TESTFILESLOCATION" Name="testfiles"
ShortName="TESTFILE" />
<Directory Id="qt45Dir" Name="qt45" />
</Directory>
</Directory>
</Directory>
</Directory>
So for example, trying to set the ARPINSTALLLOCATION is incorrect when
the user does a run from source:
<CustomAction Id="StoreInstallLocation" Property="ARPINSTALLLOCATION"
Value="[INSTALLLOCATION]" />
Is there some kind of standard guideline to handle such a case? Note: I
have been mucking around with custom actions and trying to avoid relying
on INSTALLLOCATION as having the correct value, but things started to
become rather complex and fragile.
Thanks,
Theo
--
Never argue with idiots. They drag you down to their level, and then
beat you with experience. — Dilbert
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users