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
- :
- Re: Basic MSI not installing subfolders
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
‎Jun 10, 2010
01:09 PM
Basic MSI not installing subfolders
I create a folder under "Destination Computer" that has subfolders underneith, as shown in the picture below. I then call a custom action to set my Directory Identifier SHAREDDEFAULTS, like so:
When I run the installation the SharedDefaults folder gets installed. However, none of the subdirectories under \SharedDefaults get created and installed. This works in Installscript MSI, but not in Basic MSI. What do I need to do here?
Thanks.
nResult = MsiSetProperty (hwnd, "SHAREDDEFAULTS", "C:\\RandomPath");
When I run the installation the SharedDefaults folder gets installed. However, none of the subdirectories under \SharedDefaults get created and installed. This works in Installscript MSI, but not in Basic MSI. What do I need to do here?
Thanks.
(2) Replies
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 10, 2010
09:23 PM
Installation directory is hard code?
May be you can try to add SHAREDDEFAULTS to Property Manager, then set this property value to "C:\\RandomPath", instead of MsiSetProperty.
Hope this helps you.
May be you can try to add SHAREDDEFAULTS to Property Manager, then set this property value to "C:\\RandomPath", instead of MsiSetProperty.
Hope this helps you.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 06, 2010
09:54 AM
The solution to this issue, I learned, is to create a set Directory custom action and put it after CostFinalize.