Ok, I changed all the INSTALLDIR references to be TARGETDIR and I'm still getting the same behavior. TARGETDIR is "C:\Program Files\Test" initially and then I change it to "C:\Test" in the SelectFolderDialog. All my components get installed to C:\Test, my merge module gets installed to c:\Program Files\Test.
I checked Orca and it is defaulting the folder to [TARGETDIR]. I checked the msi in Orca and all subdirectories lead back to TARGETDIR. Somehow, when TARGETDIR is changed by the folder selection dialog, the merge module files are not affected. Any ideas? -----Original Message----- From: Mike Dimmick [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 24, 2007 3:11 PM To: Alex Steen; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] Merge Modules evaluating earlier then Components? The contents of a merge module are merged directly into your MSI file - at that point, the merge module's identity is lost. The only indication that an entry in a table came from a merge module is that it typically has a GUID at the end of the textual component/file/registry ID, which is appended when the module is built to prevent name clashes. Examine the output MSI with Orca to see what directory ID the files are to be installed under. The VS .NET 2003 merge modules appear to use TARGETDIR, not INSTALLDIR, as their install location. INSTALLDIR is a convention used by some developers and is not defined in the SDK; TARGETDIR 'specifies the root destination directory for the installation' according to the Windows Installer SDK. I'd avoid defining another property/directory ID that means the same as TARGETDIR. -- Mike Dimmick -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JCWrs Sent: 24 April 2007 20:12 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Merge Modules evaluating earlier then Components? Here is what I've got: I have looked in Orca and edited the directory structure so that my merge module installs to the INSTALLDIR directory as all of my other components do. However, when I run my install the Merge Module installs to the default value of INSTALLDIR while the components install to the user input value of INSTALLDIR. So my question, do the merge modules evaluate at an earlier time then the Components? Is there something else that would explain the differing values of the same property? -- View this message in context: http://www.nabble.com/Merge-Modules-evaluating-earlier-then-Components-- tf36 40688.html#a10167585 Sent from the wix-users mailing list archive at Nabble.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 ------------------------------------------------------------------------- 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