How to create .EXE installations from .Msi file in wise package studio.
(Creating .EXE file using .MSI file )
sourav.
-------------------------
(\ (\
( ^_^)
(_(")(")
0 Comments
[ + ] Show comments
Answers (15)
Please log in to answer
Posted by:
anonymous_9363
16 years ago
Posted by:
tmiller
16 years ago
Depending on what version you are using, go here: https://kb.altiris.com/display/1/index.asp?c=&cpc=&cid=&cat=&catURL=&r=0.1999933
Locate a manual for your version and it will explain. You need to read up on the 'Media" section for learning how to package an.msi as an .exe. I think this is what you are trying to do.
Thanks!
Locate a manual for your version and it will explain. You need to read up on the 'Media" section for learning how to package an.msi as an .exe. I think this is what you are trying to do.
Thanks!
Posted by:
Eswari
16 years ago
Hi,
if i am right that you want to know about an msi wrapped into exe you can use wise script editor.
create an file with an extension .wse on the machine where you have installed wise package studio.
open the .wse(wise script editor) and write custom action execute file from installation.browse for system folder and give command as cmd.exe /c msiexec.exe "<path to msi>"
compile it and save it.
it will give you the exe file which you can install silently with switch /S
if i am right that you want to know about an msi wrapped into exe you can use wise script editor.
create an file with an extension .wse on the machine where you have installed wise package studio.
open the .wse(wise script editor) and write custom action execute file from installation.browse for system folder and give command as cmd.exe /c msiexec.exe "<path to msi>"
compile it and save it.
it will give you the exe file which you can install silently with switch /S
Posted by:
anonymous_9363
16 years ago
Posted by:
sourav
16 years ago
'WiseScript Package Editor'.
ORIGINAL: Eswari
Hi,
if i am right that you want to know about an msi wrapped into exe you can use wise script editor.
create an file with an extension .wse on the machine where you have installed wise package studio.
open the .wse(wise script editor) and write custom action execute file from installation.browse for system folder and give command as cmd.exe /c msiexec.exe "<path to msi>"
compile it and save it.
it will give you the exe file which you can install silently with switch /S
Yes Eswari, You are right
I want to know about an msi wrapped into exe using wise script editor.
I did as follwos:
In wise script editor, in standard tab, i took the action ( Excute Program ).
I gave
.EXE Path : Null
command line : "c:\WINNT\system32\CMD.EXE" /c msiexec.exe /i "C:\Test\Jumtray_11.0.msi"
Defaulty directory : Null
Variables added : null
when i compile and save it ,I got .EXE, if i launch the .EXE, it's not working(installing),
did i follow correct?,
can u help me plz.
I did not understand fairly..
Morover: I need small conclusion regading creating .EXE from .MSI
we can make .EXE two ways
1) What you told, msi wrapped into exe using wise script editor
2) the other one in Release Defination page in in windows installer editor : Release Defination -- >> Build Options -- >>
If i get clear idea , it would be greatly appreciated.
thanks,
sourav.
Have a greatful days.
Posted by:
Eswari
16 years ago
Hi,
The way you did is correct.But small correction.
Initially you need to install the msi to local folder.
for this use this action
Example:Install File Source=...\Desktop\<......msi> Destination=%TEMP%\<......msi>
then use the execute program action to call the msi from the location you dropped as
Command Line=/i <dropped msi location>
then compile it to get .EXE.Sometimes along with the .EXE you will get few files with the same name as .EXE is having but with differnt extensions.These files also may require for the .EXE to work properly.
Hope this will solve your problem.
The way you did is correct.But small correction.
Initially you need to install the msi to local folder.
for this use this action
- Install File Source=<source msi location> Destination<where you want to drop the msi before install.
Example:Install File Source=...\Desktop\<......msi> Destination=%TEMP%\<......msi>
then use the execute program action to call the msi from the location you dropped as
- Execute Program Pathname=%SYS32%\msiexec.exe
Command Line=/i <dropped msi location>
then compile it to get .EXE.Sometimes along with the .EXE you will get few files with the same name as .EXE is having but with differnt extensions.These files also may require for the .EXE to work properly.
Hope this will solve your problem.
Posted by:
sourav
16 years ago
ORIGINAL: Eswari
Hi,
The way you did is correct.But small correction.
Initially you need to install the msi to local folder.
for this use this action
- Install File Source=<source msi location> Destination<where you want to drop the msi before install.
Example:Install File Source=...\Desktop\<......msi> Destination=%TEMP%\<......msi>
then use the execute program action to call the msi from the location you dropped as
- Execute Program Pathname=%SYS32%\msiexec.exe
Command Line=/i <dropped msi location>
then compile it to get .EXE.Sometimes along with the .EXE you will get few files with the same name as .EXE is having but with differnt extensions.These files also may require for the .EXE to work properly.
Hope this will solve your problem.
Thanking U,
Eswari i got it!!
The way u explained is very very clear for me to solve the problem.
Thanks,
Have a greatful heart.
Sourav.
Posted by:
sourav
16 years ago
I need small conclusion regarding; creating .EXE from .MSI
we can make .EXE :
1) Msi wrapped into EXE using wise script editor
2) the other one in Release Defination page in in windows installer editor : Release Defination -- >> Build Options -- >>
May i know the difference between 1 & 2
If i get clear idea , it would be greatly appreciated.
thanks,
sourav.
Have a greatful days.
we can make .EXE :
1) Msi wrapped into EXE using wise script editor
2) the other one in Release Defination page in in windows installer editor : Release Defination -- >> Build Options -- >>
May i know the difference between 1 & 2
If i get clear idea , it would be greatly appreciated.
thanks,
sourav.
Have a greatful days.
Posted by:
Eswari
16 years ago
Hi,
Even build options u can use to wrap the msi into exe.
But if u use wise script editor.u can do for multiple msi's wrapping also and any customizations together.
But Build options will allow only to the current msi through which u want to create EXE.
And build options may not work to create EXE's to vendor based msi's.
So what i feel is the best way to use wise script editor.
thanks
Eswari
Even build options u can use to wrap the msi into exe.
But if u use wise script editor.u can do for multiple msi's wrapping also and any customizations together.
But Build options will allow only to the current msi through which u want to create EXE.
And build options may not work to create EXE's to vendor based msi's.
So what i feel is the best way to use wise script editor.
thanks
Eswari
Posted by:
sourav
16 years ago
I am using wiseScript editor,Here i need to check some folder , if the folder exists then installation proceed,if not folder exists installation has to terminate.
(this example assumes I am checking for a folder named C:\Program Files\folder1)
So i wrote wise script as follows , it did not work , i think , i have done wrong turn.
Please anyone suggest me.
Pathname="C:\PROGRA~1\folder1"
Flags=01000101
end
Source=C:\Test\winzip_10.0.msi
Destination=%TEMP%\winzip_10.0.msi
Flags=0000000010000010
item: Execute Program
Pathname=%SYS32%\msiexec.exe
Command Line=/i C:\Test\winzip_10.0.msi /qn
end
item: Display Message
Title=termination
Text=terminated.
end
end
item: End Block
end
Best Regards,
Sourav.
Posted by:
sanbal
16 years ago
Posted by:
sunny4u
16 years ago
c:\Program files \ a\bin
Hi
steps 1:- take intiall snapshot of PC
step2:- now create the folder in programfiles a\bin
now copy and paste manually the folder Resource on the destination location you want to place that folder.
step3:- now take the final sanpshot and you will get wsi ,compile it and you will get msi .
this final msi will dump or copy and pastes the entire folder to destination.
thanks...
[:)]
Posted by:
anonymous_9363
16 years ago
ORIGINAL: sunny4uCorrect me if I'm wrong, but didn't the OP ask for details no how to achieve this using WiseScript? You have described how to create an MSI.
steps 1:- take intiall snapshot of PC
step2:- now create the folder in programfiles a\bin
now copy and paste manually the folder Resource on the destination location you want to place that folder.
step3:- now take the final sanpshot and you will get wsi ,compile it and you will get msi .
Posted by:
reds4eva
16 years ago
Posted by:
anonymous_9363
16 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.