I believe that but why are you putting stuff in the Windows directory?  If 
you're not part of Windows don't freakin' put stuff in the Windows directory 
(unless some Windows API puts stuff in the Windows directory, like installing 
assemblies to GAC).  And I mean that in the nicest sense.  <smile/>


From: Thomas Svare [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 22, 2007 5:50 PM
To: Rob Mensching; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] FW: Directories/Merge Modules

Rob,

There have been some maintenance/uninstall issues with needing physical media 
that have be avoided by putting UI type dll's there.  I'll find out the entire 
history tomorrow and post.

I'm very interested to see if this is necessary or what the recommended course 
is for the situation.

Thanks,
Tom

________________________________
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 22, 2007 5:17 PM
To: Thomas Svare; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] FW: Directories/Merge Modules

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

Reply via email to