Wrap MSI in EXE (inc command line)
Hi,
I need to wrap an MSI in an EXE ensuring it runs quietly, the command line i want to pass is:
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
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
Answers (8)
Please log in to answer
Posted by:
nheim
17 years ago
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
@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
Posted by:
HotSpot
17 years ago
Posted by:
kj95376
17 years ago
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.
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.
Comments:
-
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. - uday1kiran 12 years ago
Posted by:
HotSpot
17 years ago
Posted by:
AngelD
17 years ago
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.