Hi,

I need to wrap an MSI in an EXE ensuring it runs quietly, the command line i want to pass is:


msiexec /i Product.MSI /qb /L*v %temp%\Product.log


Now i know that wise can create an exe for you and you can pass /silent or whatever, but i need an exe to self extract and launch with this command line..

Does anyone know of any free tools i can use to do this?

Thanks in advance!

Paul
0 Comments   [ + ] Show 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.

Answers

0
Hi Paul,
have a look at Winrar or 7zip.
Regards, Nick
Answered 07/16/2007 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
I've had a quick look at winrar and 7zip but they do not seem to support the passing of commanlines to extracted files...
Answered 07/16/2007 by: HotSpot
Orange Senior Belt

Please log in to comment
0
This is a very simple task to accomplish.

The tool you would us is called Wise Script Express (it is included with Wise Package Studio) You start out with a blank WSE script, you then add the following to that empty script:

1) Create a variable for the UNC location of your MSI Example: variable = SOURCE value of: UNC path to MSI (do not include the MSI itslef)

2) Add an Action called "execute Program"

3) For the .EXE path type in: %SYS32%\msiexec

4) For the command line type in: /i %SOURCE%\app.msi /QB! you are using SOURCE for your complete UNC path you created with the variable called SOURCE.

Now your complete command line will look like this: msiexec /i %SOURCE%\app.msi /QB!

5) Compile the WSE into an EXE by clicking on the Compile button.
Answered 07/16/2007 by: kj95376
Yellow Belt

  • But this msi and exe seperately but I need to keep msi inside that exe and extract during installation and if possible delete during uninstallation of that exe.
Please log in to comment
1
Hi folks,
@Kevin: This is not a free program AFAIK, its only available as part of Wise Package Studio.
It would be quite an overkill to get WPS only to do setup stub.

@Paul: 7zip and Winrar have this capability for sure. In Winrar Help, search for "SFX" and then click setup.
In 7-zip Help, go to 'Command line version' - 'Switches' - 'sfx'

Regards, Nick
Answered 07/17/2007 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
Thanks nick,

I was thrown by the SFX part, thats worked a treat!

Paul
Answered 07/17/2007 by: HotSpot
Orange Senior Belt

Please log in to comment
0
Paul,

If you feel that Nick's answer helped to solve your problem, then why not rate his post.
It's in this way users can show the contributers their appreciation and gratitude.
Answered 07/18/2007 by: AngelD
Red Belt

Please log in to comment
0
indeed, 1 point to the man!
Answered 07/19/2007 by: HotSpot
Orange Senior Belt

Please log in to comment
0
Thanks for the flowers, folks :-)
Keep packaging.
Regards, Nick
Answered 07/19/2007 by: nheim
Tenth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity