cibereldon Posted September 18, 2015 Share Posted September 18, 2015 Good afternoon: Somebody could help me? I have WPI and add portable software, i make folder and inside put the portable software folder and vbs script. The vbs script for copy the portable software folder to program files folder and later create icon acces in desktop, everything work fine but........... When I run the WPI and select the portable and start, it don't work. How can I run the vbs script? This is the script in config.js file: prog[pn]=['Beyond Compare v4.0.7 build 19761'];uid[pn]=['BeyondComparev407'];dflt[pn]=['yes'];forc[pn]=['no'];bit64[pn]=['no'];cat[pn]=['PORTABLES'];pfro[pn]=['no'];cmds[pn]=['"%wpipath%E:\\Install\\PORTABLES\\Beyond Compare v4.0.7 build 19761\\Copiar.vbs"'];desc[pn]=['Programa para comparar carpetas y archivos.'];pn++; I shall be very happy with your help Link to comment Share on other sites More sharing options...
jaclaz Posted September 18, 2015 Share Posted September 18, 2015 Possibly you need to start the VBS by using cscript.exe or wscript.exe in the command line : http://ss64.com/vb/cscript.html https://technet.microsoft.com/en-us/library/bb490816.aspx jaclaz Link to comment Share on other sites More sharing options...
Dragonsys Posted December 1, 2015 Share Posted December 1, 2015 (edited) cmds[pn]=['"%wpipath%E:\\Install\\PORTABLES\\Beyond Compare v4.0.7 build 19761\\Copiar.vbs"']; Why are you using %wpipath% when you specify the actual path? Do you have a folder named E: inside the WPI Folder? Edited December 1, 2015 by Dragonsys Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now