Hi,
I'm afraid that this cannot be done with a file which holds the properties because it is not supported by Windows Installer.
However, there are two workarounds:
1) You use transforms for the MSI package. For this you follow these steps:
- open the MSI with Orca
- go to the "Transform" menu and select "New Transform"
- edit the values of the properties and set them to the values you need
- go to the "Transform" menu and select "Close Transform"
- save the transform
- when you launch the MSI you use the transform like this:
Code: Select all
msiexec /i my_package.msi TRANSFORMS=my_transform.mst
2) You use a custom action which parses a file that contains the properties with their values. This custom action will set the properties in the package and it should be scheduled as early as possible in the "Custom Actions" page.
http://www.advancedinstaller.com/user-g ... -page.html
Regards,
Cosmin
FOLLOW US
Get the latest news in Application Packaging