How to convert a vb script .vbs file to .msi using InstallShield 2010
I have created a vb script .vbs and it could run perfectly. I would like to convert the script created from .vbs file to .msi using installShield 2010. Could someone please kindly help me how to achieve this?
Answers (1)
my 50ct
worst case if you want to keep your vbs intact:
Just add the VBS as a custom action in your MSI
This would not be my preferred way ..but if you only want to have a MSI because that is the standard... please be my guest.
IF you use this method, please also create a rollback and or Uninstall and / or Repair VB.
(Which makes it more complex and therefore maybe easier to convert / translate your VB to the MSI in the first place)
Comments:
-
I copied the code and pasted to script in custom action to create .msi, it failed. Not sure what is wrong? - RubyW 11 years ago
-
is custom action in a squence (what location) and is it Immediate or Deferred? - jaybee96 11 years ago
-
Haven't got the pc with the program to check at the moment.I think it is immediate. Do you think if it coud be the language in my script might not be recognised by the installshield? - RubyW 11 years ago
-
This may help: http://www.itninja.com/blog/view/appdeploy-com-gt-training-videos-gt-custom-actions-with-installshield-adminstudio - bkelly 11 years ago
If it's a simple file copy and some registry entries then you could use the Repackager to snapshot what your script does to produce an MSI
There isn't a native method of converting vbscript to an MSI - you have to author your MSI to perform whatever actions the script does. - dunnpy 11 years ago