mst CustomAction
Hi,
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
Target: [CONFIGURATIONFILE]
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?
thanks
Dave
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
Target: [CONFIGURATIONFILE]
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?
thanks
Dave
0 Comments
[ + ] Show comments
Answers (6)
Please log in to answer
Posted by:
anonymous_9363
14 years ago
Posted by:
ArmsteR
14 years ago
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
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
14 years ago
Posted by:
anonymous_9363
14 years ago
Posted by:
ArmsteR
14 years ago
Posted by:
AngelD
14 years ago
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
Source: CONFIGURATIONFILE
Target: [OriginalDatabase]ngsetup.ini
# Execute the SetConfigurationFilePath
Make sure to sequence it just before the "_7EE946E2_AD8A_4497_AD9C_565F98E3E0F0.SetProperty" custom action
# Add the "SetConfigurationFilePath" custom action
Action: SetConfigurationFilePath
Type: 51
Source: CONFIGURATIONFILE
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.
so that the conversation will remain readable.