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.
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)
Please log in to answer
Posted by:
Bladerun
18 years ago
Posted by:
bheers
18 years ago
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
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
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
I
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.
so that the conversation will remain readable.