How to test VBS Wrapper on test machine?
I have vb script to wrap .msi, .mst, and patches. When i tested install of msi with transform (mst), and it installed fine. But when i run the vbs wrapper, it says " The file specified could not be found". Any help?
0 Comments
[ + ] Show comments
Answers (2)
Answer Summary:
Please log in to answer
Posted by:
piyushnasa
11 years ago
Check the path. The path in which you have specified the msi is not correct. If there are any spaces in the path, then you need to use chr(34) as " and then specify the complete path.
You can use Current Directory as below if you are keeping the vbs in the same folder:
sCurDir = Left(WScript.ScriptFullName, InStrRev(WScript.ScriptFullName, "\") - 1)
I have used this here but not like for installation, but you can figure it out.
http://msiworld.blogspot.com.au/2011/11/repackaging-microsoft-visual-studio.html
~Piyush Nasa
~My Blog: http://msiworld.blogspot.com/
Comments:
-
It helped, Thanks a lot - shrestha.rajiv.k 11 years ago