You really should not be writing to the Installer directory. Why are you doing
that?
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Svare
Sent: Thursday, March 22, 2007 2:29 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] FW: Directories/Merge Modules
Hello,
I've fixed my problem but I'm not entirely sure why the fix works and I'd like
to know. In fact, I made the change so I could search my verbose log a little
easier.
I ended up changing the Directory Id and short name for the Guid directory to
something like Xyz so that it would be easier to type a search string.
<Directory Id="Xyz" Name="Xyz"
LongName="{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}">
This solved my problem. I'm not sure why. I can only think the previous
directory id was causing problems due to all caps and numerics or something
like that. I'd be interested to know what the issue was.
Thanks,
Tom
________________________________
From: Thomas Svare
Sent: Thursday, March 22, 2007 3:26 PM
To: wix-users@lists.sourceforge.net
Subject: Directories/Merge Modules
Hello,
I'm converting an existing InstallShield merge module to Wix. This merge
module puts some files in the Windows Installer cache directory to support
maintenance operations.
My code is as follows:
<Directory Id="WindowsFolder">
<Directory Id="Installer" Name="INSTAL1~" LongName="Installer">
<Directory Id="XXXXXXXX_XXXx_XXXX_" Name="{XXXXXX~"
LongName="{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}">
<Component /Component>
.
.
</Directory>
</Directory>
</Directory>
When installed the files go to
C:\Installer\{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}, the Windows directory is
ignored. A verbose log show the WindowsFolder.guid property correctly but the
files end up in the wrong place.
Any ideas on what I'm doing wrong?
Thanks,
Tom
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users