Custom Action running EXE
Hi all
How can i Make a custom action to run a setup.exe from a program setup located on a network DFS share
If i run the setup from my computer run dialog i will type
like \\bdo.dk\dfs$\packages\caseware\setup.exe -s
im trying to put the path into the property table but what shall I write ?? it wont work
IF i make a property called instpath what is the syntax
I have also tried Installshield script
Do i really have to compile my own exe file running the install, and then running this from lokal installation
Sweede ;-)
How can i Make a custom action to run a setup.exe from a program setup located on a network DFS share
If i run the setup from my computer run dialog i will type
like \\bdo.dk\dfs$\packages\caseware\setup.exe -s
im trying to put the path into the property table but what shall I write ?? it wont work
IF i make a property called instpath what is the syntax
I have also tried Installshield script
Do i really have to compile my own exe file running the install, and then running this from lokal installation
Sweede ;-)
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
WiseUser
19 years ago
You need a "type 50" custom action:
http://msdn.microsoft.com/library/en-us/msi/setup/custom_action_type_50.asp
The property should contain the full path to the executable ("\\bdo.dk\dfs$\packages\caseware\setup.exe").
The "-s" should be entered in the "Target" column of the "CustomAction" table.
Remember that the account running the custom action must have access to the share. If running the action in "deferred" mode, you cannot run it under the system account (unless you've configured the access to your share accordingly).
Also remember that many deployment tools use custom accounts to install software which may not have permissions to all areas of your network.
http://msdn.microsoft.com/library/en-us/msi/setup/custom_action_type_50.asp
The property should contain the full path to the executable ("\\bdo.dk\dfs$\packages\caseware\setup.exe").
The "-s" should be entered in the "Target" column of the "CustomAction" table.
Remember that the account running the custom action must have access to the share. If running the action in "deferred" mode, you cannot run it under the system account (unless you've configured the access to your share accordingly).
Also remember that many deployment tools use custom accounts to install software which may not have permissions to all areas of your network.
Posted by:
Sweede
19 years ago
Hi
WiseUser
And thank you
It was a great help i got the install made I deploy by GPO so i ended up with a custom action type nr 3186
I use Deferred Execution in system context synchronous (ignore exit code) and the Install Exec Sequence
My problem was that I had only the path in the property and not EXE file
Sweede [:D]
WiseUser
And thank you
It was a great help i got the install made I deploy by GPO so i ended up with a custom action type nr 3186
I use Deferred Execution in system context synchronous (ignore exit code) and the Install Exec Sequence
My problem was that I had only the path in the property and not EXE file
Sweede [:D]
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.