/build/static/layout/Breadcrumb_cap_w.png

Start installation from networklocation

Hello,

I've created an automated MATLAB installation. To install silently I used the setup.exe -if installer.ini option.
I added this line to a batch file with some extra actions.

But now I want to create an empty MSI with only a costum action witch starts the batch file from a network location. How can I do this in WPS?

I tried to add a "Execute Program From Path" custom action, but it returns a 1721 error. I know for sure the path is correct, cause when I enter it in my explorer it will run. I also added "" for the test. But no luck.

Anyone got an idea?

0 Comments   [ + ] Show comments

Answers (6)

Posted by: michaelnowell 17 years ago
Second Degree Blue Belt
0
why don't you run your installation with logging enabled, then you'd be able to see the path that the MSI is trying to execute.
Posted by: MARIN 17 years ago
Orange Senior Belt
0
This it what the verbose log says:

Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: Action1, location: C:\WINDOWS\Installer\MSI167B.tmp, command:
MSI (s) (84:1C) [09:24:31:900]: Product: MATLAB R2007b -- Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: Action1, location: C:\WINDOWS\Installer\MSI167B.tmp, command:

The custom action I used:

Execute Program From Path \\DATA\software$\MSI\MATLAB\ Command line matlab_full.bat (Action)
Posted by: nheim 17 years ago
10th Degree Black Belt
0
Hi Dennis,
why not use WIWW? See:
http://www.vinsvision.com/Articles/tabid/66/EntryID/15/Default.aspx
They have done it for you already.
Regards, Nick
Posted by: MARIN 17 years ago
Orange Senior Belt
0
Nick,

I tried that application, but for some reason it is not working.
The setup finishes, but the matlab_full.bat is not running.
Posted by: nheim 17 years ago
10th Degree Black Belt
0
Hi Dennis,
like allways in such situations: What does the logfile tell you?
Regards, Nick
Posted by: vvanegmond 16 years ago
Yellow Belt
0
ORIGINAL: MARIN

Nick,

I tried that application, but for some reason it is not working.
The setup finishes, but the matlab_full.bat is not running.




Hi MARIN,

Please note that if you don't use the Use [SourceDir] checkbox in WIWW, the ResolveSource action isn't added in the InstallExecuteSequence. So try this:

- When you create a new Windows Installer file using WIWW, create the msi file in the same folder on the network where your batch file is located:
\\DATA\software$\MSI\MATLAB

- Add the install command using the Use [SourceDir] checkbox. Then, use the Browse button to select your matlab_full.bat.

The install command should show up as Folder [SourceDir] and Program matlab_full.bat.
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