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

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
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.
Answered 03/07/2006 by: Bladerun
Green Belt

Please log in to comment
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
Answered 03/07/2006 by: bheers
Second Degree Blue Belt

Please log in to comment
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
Answered 03/07/2006 by: digiman57
Yellow Belt

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