LabRat63 Posted November 25, 2011 Share Posted November 25, 2011 How do I add a command to copy a directory or file from the WPI directory to where it needs to go? For example, I want to copy the TT-Webinfo folder to the Program Files directory and add a shortcut for TTWebInfo.exe to the desktop. TT-Webinfo is a small program which comes in a zip file. No installer-just unzip it to where you want it and run it. I want WPI to install it for me Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted November 25, 2011 Share Posted November 25, 2011 Example{DIRCOPY} "%wpipath%\Install\ccleaner" "%programfiles%\Ccleaner"{JSCRIPT}=CreateShortcut("Ccleaner","%programfiles%\ccleaner\CCleaner.exe","","%programfiles%\ccleaner\CCleaner.exe","","StartMenu","") Link to comment Share on other sites More sharing options...
LabRat63 Posted November 25, 2011 Author Share Posted November 25, 2011 Thank you. BBL to try it Link to comment Share on other sites More sharing options...
alfreire Posted November 27, 2011 Share Posted November 27, 2011 (edited) Example{JSCRIPT}=CreateShortcut("Ccleaner","%programfiles%\ccleaner\CCleaner.exe","","%programfiles%\ccleaner\CCleaner.exe","","StartMenu","")It's correct, or is {JSCRIPT}=CreateShortcut("Ccleaner","%programfiles%\ccleaner\CCleaner.exe","","StartMenu","") ???Thank's... ;-) Edited November 27, 2011 by alfreire Link to comment Share on other sites More sharing options...
alfreire Posted December 3, 2011 Share Posted December 3, 2011 Example{JSCRIPT}=CreateShortcut("Ccleaner","%programfiles%\ccleaner\CCleaner.exe","","%programfiles%\ccleaner\CCleaner.exe","","StartMenu","")It's correct, or is {JSCRIPT}=CreateShortcut("Ccleaner","%programfiles%\ccleaner\CCleaner.exe","","StartMenu","") ???Thank's... ;-)Any reply...?Regards... ;-) Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted December 9, 2011 Share Posted December 9, 2011 In the config wizard you pick jscript create shortcut and a wizard pops up that help you with that... Link to comment Share on other sites More sharing options...
alfreire Posted December 10, 2011 Share Posted December 10, 2011 In the config wizard you pick jscript create shortcut and a wizard pops up that help you with that...Thank you... Regards... ;-) 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