Page 1 of 1
Copy Files
#1
Posted 25 November 2011 - 12:41 PM
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
#2
Posted 25 November 2011 - 12:44 PM
Example
{DIRCOPY} "%wpipath%\Install\ccleaner" "%programfiles%\Ccleaner"
{JSCRIPT}=CreateShortcut("Ccleaner","%programfiles%\ccleaner\CCleaner.exe","","%programfiles%\ccleaner\CCleaner.exe","","StartMenu","")
{DIRCOPY} "%wpipath%\Install\ccleaner" "%programfiles%\Ccleaner"
{JSCRIPT}=CreateShortcut("Ccleaner","%programfiles%\ccleaner\CCleaner.exe","","%programfiles%\ccleaner\CCleaner.exe","","StartMenu","")
#4
Posted 27 November 2011 - 04:06 AM
Kelsenellenelvian, on 25 November 2011 - 12:44 PM, said:
Example
{JSCRIPT}=CreateShortcut("Ccleaner","%programfiles%\ccleaner\CCleaner.exe","","%programfiles%\ccleaner\CCleaner.exe","","StartMenu","")
{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... ;-)
This post has been edited by alfreire: 27 November 2011 - 04:08 AM
#5
Posted 03 December 2011 - 10:35 AM
alfreire, on 27 November 2011 - 04:06 AM, said:
Kelsenellenelvian, on 25 November 2011 - 12:44 PM, said:
Example
{JSCRIPT}=CreateShortcut("Ccleaner","%programfiles%\ccleaner\CCleaner.exe","","%programfiles%\ccleaner\CCleaner.exe","","StartMenu","")
{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... ;-)
#6
Posted 08 December 2011 - 09:59 PM
In the config wizard you pick jscript create shortcut and a wizard pops up that help you with that...
#7
Posted 10 December 2011 - 03:48 AM
- ← How do I skip the Open File Security Warning
- Windows Post-Install Wizard (WPI)
- delete wpi folder after completion →
Share this topic:
Page 1 of 1



Help
Back to top









