/build/static/layout/Breadcrumb_cap_w.png

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 ;-)

0 Comments   [ + ] Show comments

Answers (2)

Posted by: WiseUser 19 years ago
Fourth Degree Brown Belt
0
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.
Posted by: Sweede 19 years ago
Second Degree Green Belt
0
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]
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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