Is there anyway doing it from the Wise for Windows Installer Wizard or do i need to run any script? Any step-by-step solution for this?
How to set the mergemodule dest dir
Posted 13 September 2001 - 04:54
Posted 13 September 2001 - 10:02
Posted 17 October 2001 - 00:40
I need to know how to do this with InstallShield (through InstallScript)
Can you help me out?
Posted 17 October 2001 - 14:24
When you add the module to your setup, use a propery as the destination location, e.g. [INSTALLDIR].
Posted 17 October 2001 - 16:48
I tried MsiSetProperty in my ISDev7.0 InstallScript (Standard Project, NOT Basic), but they don't seem to take effect for me.
Are you saying I need to go into the MSDE Merge Modules using Orca and modify it?
James
Posted 18 October 2001 - 06:56
Posted 27 February 2003 - 20:59
I have built several merge modules for our software components, all of which have "[TARGETDIR]" specified for the projects' INSTALLDIR.
I then created a basic MSI setup which includes these merge modules. This project has an INSTALLDIR of "[ProgramFilesFolder]MyCompanyName" (as an example). I've changed the properties for all included merge modules to override their destination directory by setting them to "[INSTALLDIR]".
From everything I've read, this is *exactly* how it's supposed to be done. However, upon installation all the merge module files are simply going to C:\ (which is TARGETDIR's value). The MSI setup project itself does not contain any files, but adding one as a test resulted in that particular file being installed to the proper location. What's going on?
Microsoft's MSI documentation seems to indicate that TARGETDIR is the destination for an administrative image during an ADMIN action, and *also* the root destination for all files during an INSTALL action. Why has InstallShield taken it upon themselves to change this behavior? And is that why I'm seeing unexpected results? (If so, what's the workaround?)
Any help on this issue is more than welcome!
Lance
Posted 26 January 2004 - 00:59
The MFC 7 merge module actually asks the users what the destination directory should be when you add it. Any idea how this can be done?
-Stein Åsmul
Posted 26 January 2004 - 01:17
-Stein Åsmul