/bundles/itninjaweb/img/Breadcrumb_cap_w.png
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   [ - ] Hide Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity

Answers

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.
Answered 11/06/2007 by: michaelnowell
Second Degree Blue Belt

Please log in to comment
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)
Answered 11/07/2007 by: MARIN
Orange Senior Belt

Please log in to comment
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
Answered 11/07/2007 by: nheim
Tenth Degree Black Belt

Please log in to comment
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.
Answered 11/08/2007 by: MARIN
Orange Senior Belt

Please log in to comment
0
Hi Dennis,
like allways in such situations: What does the logfile tell you?
Regards, Nick
Answered 11/08/2007 by: nheim
Tenth Degree Black Belt

Please log in to comment
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.
Answered 12/26/2007 by: vvanegmond
Yellow Belt

Please log in to comment