/build/static/layout/Breadcrumb_cap_w.png

How to create .EXE installations from .Msi file in wise package studio.

Could i know the step by step process : How to create .EXE installations from .Msi file in wise package studio.
(Creating .EXE file using .MSI file )
i have .EXE(source) need to create .MSI as per instructions moreove i want to deliver package in .EXE format.

Please give me any articles or provide me the code how we can create or any refference book.

Best Regards,
sourav.
:wine;
-------------------------
(\ (\
( ^_^)
(_(")(")

0 Comments   [ + ] Show comments

Answers (15)

Posted by: anonymous_9363 16 years ago
Red Belt
0
Refer to the responses on the Altiris forum: you'll find pretty much the same people here as there. :)
Posted by: tmiller 16 years ago
Senior Yellow Belt
0
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!
Posted by: Eswari 16 years ago
Orange Belt
0
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
Posted by: anonymous_9363 16 years ago
Red Belt
0
ORIGINAL: Eswari
create an file with an extension .wse on the machine where you have installed wise package studio.
I think, given the OP's apparent skill level, it would have been simpler to suggest starting Workbench, scrolling down to 'Customization' and select 'WiseScript Package Editor'.
Posted by: sourav 16 years ago
Orange Senior Belt
0
'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
Orange Belt
0
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.
Posted by: sourav 16 years ago
Orange Senior Belt
0
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
Orange Senior Belt
0
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.
Posted by: Eswari 16 years ago
Orange Belt
0
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
Posted by: sourav 16 years ago
Orange Senior Belt
0
In the process of creating .EXE (.msi wrapping ) ,
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.


item: Check if File/Dir Exists
Pathname="C:\PROGRA~1\folder1"
Flags=01000101
end

item: Install File
Source=C:\Test\winzip_10.0.msi
Destination=%TEMP%\winzip_10.0.msi
Flags=0000000010000010
end
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

item: Exit Installation
( here Applicatio Exit code = 0 by default , i kept with same )
end
item: End Block
end



Am i doing in correct manner.


Guys Kindly push me further in this regard.

Best Regards,
Sourav.
Posted by: sanbal 16 years ago
Yellow Belt
0
Hi

I want to copy a folder to a specified location
The folder Resource should be copied or moved to Example c:\Program files \ a\bin
Any one of u please tell me how can i do this in wise script.
Posted by: sunny4u 16 years ago
Orange Belt
0
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
Red Belt
0
ORIGINAL: sunny4u
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 .
Correct 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.
Posted by: reds4eva 16 years ago
Second Degree Blue Belt
0
Im missing the point somewhere, hence why I dont usually reply to these amazing threads and leave it to a more patient VBScab or Angel.

So you have app that comes as a EXE, you've re-packaged it so its now an MSI, and you want to deploy it as an EXE.
Hmmm...
Posted by: anonymous_9363 16 years ago
Red Belt
0
Dean, I was responding to post #13 which in turn was a response to post # 12. The poster hijacked an old thread for some reason. I meant to admonish him/her about that, as well as directing him/her to the 'Scripting' and/or the appropraite Altiris forum.
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