This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to allocate a redistributables' address, and then install a software in it?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 13, 2014
05:54 AM
How to allocate a redistributables' address, and then install a software in it?
Hello,
How to allocate a redistributables' address, and then install a software in the address at one installer?
My question is as below:
In my package, there are two parts, one is Microsoft Robotics Developer Studio 4(MRDS4), I add it in the Redistributables, the other one is "MyProject".
In the installer, it needs to complete two steps:
1. Install MRDS4 in the C:\
2. Install "MyProject" in the MRDS4.
How to allocate a redistributables' address, and then install a software in the address at one installer?
My question is as below:
In my package, there are two parts, one is Microsoft Robotics Developer Studio 4(MRDS4), I add it in the Redistributables, the other one is "MyProject".
In the installer, it needs to complete two steps:
1. Install MRDS4 in the C:\
2. Install "MyProject" in the MRDS4.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 13, 2014
08:24 PM
I'm online
:confused:
hanxinyunus wrote:
Hello,
How to allocate a redistributables' address, and then install a software in the address at one installer?
My question is as below:
In my package, there are two parts, one is Microsoft Robotics Developer Studio 4(MRDS4), I add it in the Redistributables, the other one is "MyProject".
In the installer, it needs to complete two steps:
1. Install MRDS4 in the C:\
2. Install "MyProject" in the MRDS4.
:confused:
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 14, 2014
06:39 AM
If I understand your request, you are simply trying to set the target directory for your merge modules, correct.
If all you have are the two merge modules set your MSI INSTALLDIR to the path you desire. I would not hard code the C:\ path however, use something like WindowsVolume property. See http://msdn.microsoft.com/en-us/library/aa372817(v=vs.85).aspx
Then build your directory from there.
Once you have this property set then you can right click on any Merge Module and change the path from default to INSTALLDIR, providing that you have correctly set the INSTALLDIR default path.
Now let's say you have an installation configuration where you just want MergeModule_A, and MergeModule_B to go to WindowsVolume\MRDS4, AND you have other files that should be installed to ProgramFiles\\. In this case you set your default path for INSTALLDIR to ProgramFiles\\.
For your merge modules you create a new directory property, let's say for your case we call the property MRDS4DIR. Then you set the value of this property to WindowsVolume\MRDS4.
So in the directory table you should see the parent value set to WindowsVolume and the DefaultDir should look something like .:MRDS4. Since the path name is less than 8 characters you do not have to specify the short name value. If for some reason the path name in DefaultDir is > than 8 characters, then you must insert a 'pipe' character and the corresponding short name first, and then the long name.
If all you have are the two merge modules set your MSI INSTALLDIR to the path you desire. I would not hard code the C:\ path however, use something like WindowsVolume property. See http://msdn.microsoft.com/en-us/library/aa372817(v=vs.85).aspx
Then build your directory from there.
Once you have this property set then you can right click on any Merge Module and change the path from default to INSTALLDIR, providing that you have correctly set the INSTALLDIR default path.
Now let's say you have an installation configuration where you just want MergeModule_A, and MergeModule_B to go to WindowsVolume\MRDS4, AND you have other files that should be installed to ProgramFiles\
For your merge modules you create a new directory property, let's say for your case we call the property MRDS4DIR. Then you set the value of this property to WindowsVolume\MRDS4.
So in the directory table you should see the parent value set to WindowsVolume and the DefaultDir should look something like .:MRDS4. Since the path name is less than 8 characters you do not have to specify the short name value. If for some reason the path name in DefaultDir is > than 8 characters, then you must insert a 'pipe' character and the corresponding short name first, and then the long name.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)