mst CustomAction


thanks in advance for any pointers.

I'm a bit of a newbie in this respect though i've used the standard msi offerings for deployment purposes for a while now. I've been given an MSI for a VPN solution that we need to implement across the board imminently. As part of the installation of this there are a number of switches that need activating, like to set the .ini configuration file location. I can see in InstEd that this command is specified in the CustomActions Folder in the MSI. my question is very simple....

Below is the entry for this CustomAction

Action: _7EE946E2_AD8A_4497_AD9C_565F98E3E0F0.SetProperty
Type: 51
Source: _7EE946E2_AD8A_4497_AD9C_565F98E3E0F0

To Specify this file do I basically just delete the blurb in the Source Location enter in the network address for the .ini and then add the saved MST to the GPO to get this deployed with the MSI ?

is it that simple?


0 Comments   [ + ] Show comments

Answers (6)

Posted by: anonymous_9363 12 years ago
Red Belt
No. You need to find the property called 'CONFIGURATIONFILE' in the Property table and change that.
Posted by: ArmsteR 12 years ago
Senior Yellow Belt
Thanks for the quick reply.

There doesnt appear to be any configurationfile specified in the property table or indeed anywhere else within the MSI. could this switch be called in some other method within the MSI?

In InstEd it is indicates the following relationship is in place for this:

Table: InstallExecuteSequence
Row Key: _7EE946E_AD8A_4497........0F0.SetProperty
Relationship Description: InstallExecuteSequence.Action REFERENCES CustomAction.Action, optional

The installation routine I need to replicate is this:

msiexec.exe /i ngvpn.msi ALLUSERS=1 NGSETUP=1 CONFIGURATIONFILE=<path>\<.ini file name>

hope this clarrifies
Posted by: pjgeutjens 12 years ago
Red Belt

could be I'm reading this wrong but why not just add the CONFIGURATIONFILE property in the MST and pass the value on the command line?
It's a public property so I wonder what the need is for a CA to populate it..

Posted by: anonymous_9363 12 years ago
Red Belt
Pieter, perhaps the CA is reading data from somewhere in order to set the property's value?

David, if the property isn't present, make it so (as Pieter advised).
Posted by: ArmsteR 12 years ago
Senior Yellow Belt
Thanks for your help on this, I'll give it a try and let you know the results
Posted by: AngelD 12 years ago
Red Belt
If you have the ngsetup.ini file in the same location as the MSI then you could set the property just before _7EE946E2_AD8A_4497_AD9C_565F98E3E0F0.SetProperty executes.

# Add the "SetConfigurationFilePath" custom action
Action: SetConfigurationFilePath
Type: 51
Target: [OriginalDatabase]ngsetup.ini

# Execute the SetConfigurationFilePath
Make sure to sequence it just before the "_7EE946E2_AD8A_4497_AD9C_565F98E3E0F0.SetProperty" custom action
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ