cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
scottd72
Level 7

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:

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.
Labels (1)
0 Kudos
(2) Replies
Not applicable

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.
0 Kudos
scottd72
Level 7

The solution to this issue, I learned, is to create a set Directory custom action and put it after CostFinalize.
0 Kudos