/build/static/layout/Breadcrumb_cap_w.png

Wrap MSI and folders and Files into EXE

Hi all,
I am trying to create an EXE that includes an few MSIs, MST, folder with files and at Bat file that will set off a Vbscript.
If I can cut down the time to do this that will be great. An example is, we are giving Dell one file to install in an automated process on our image at Dell. I am packing up my MST/MSI file, folders and files as stated above, into one exe file that will unpack and install from the temp directory on the local PC.
I have used Symantec Ghost and scripted by hand, an exe...I have Wise package studio and would rather use it, but I haven't been sucessful yet, as I think I have to use Wise Script to create the EXE. I am used to using the Windows Script editor in Wise....which may not work...seeing that MSIs will be unpacked and run....while Windows installer is running my EXE used to unpack these files. Geez, I thought about trying Winzip as a last resort.
Anyway, if anyone had any ideas, that would be greatly appreciated.
I am unpacking all the files, MST, MSI, Bat and Vbscript to c:\temp and having the Bat file call the Vbscript file to run the MSI/MST and then kill all the files in c:\temp when the install is finished. Ghost will only run Bat files...and I am having issues with the size of Folders and Files getting compressed and trying to create an exe. I would love to not use Ghost to create the exe.
BTW, I do use WIse Package studio to wrap exe files into an MSI and that seems easy.
Thanks,
Jeff L.

0 Comments   [ + ] Show comments

Answers (3)

Posted by: Bladerun 18 years ago
Green Belt
0
I'd do it like this:

1. Create a Wisescript to run all of your installations and vbscripts.

2. Use Winzip to create a self extracting executable with all of your necessary content, including the Wisescript. Specify that the executable should run your wisescript when complete.
Posted by: bheers 18 years ago
Second Degree Blue Belt
0
Using Wise Script

Install files to C:\Temp

item: Install File
Source=\\Servername
Destination=C:\Temp\
Flags=0000000010000010
end

Then instead of using vbscript you can use

item: Execute Program
Pathname=%SYS32%\msiexec
Command Line=/i "<MSIName>" TRANSFORMS=<TransformName>
Flags=00000010
end

in wise Script.

item: Delete File
Pathname=c:\temp\msiname.msi
end

or install the msi and mst to C:\temp\APPNAME\
Then Delete the entire folder on the completion of the entire installation.

item: Delete File
Pathname=c:\temp\APPNAME\msiname.msi
Flags=00001100
end

Hope this helps
Posted by: digiman57 18 years ago
Yellow Belt
0
Thanks, I was able to get the files copied to the c:\temp, but not folders. I was close. I used for source...our network drive with the path to the files and folders I needed to copy to c:\temp I used the *.* and it only copied files not folders to the temp dir. Maybe that is the way Wisescript is designed to do.
Thanks,
Jeff Little


Status: online Using Wise Script

Install files to C:\Temp

item: Install File
Source=\\Servername
Destination=C:\Temp\
Flags=0000000010000010
end

Then instead of using vbscript you can use

item: Execute Program
Pathname=%SYS32%\msiexec
Command Line=/i "<MSIName>" TRANSFORMS=<TransformName>
Flags=00000010
end

in wise Script.

item: Delete File
Pathname=c:\temp\msiname.msi
end

or install the msi and mst to C:\temp\APPNAME\
Then Delete the entire folder on the completion of the entire installation.

item: Delete File
Pathname=c:\temp\APPNAME\msiname.msi
Flags=00001100
end

Hope this helps

(in reply to digiman57)
Report | Rate post | Post #: 3


Page: [1]
,
I
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