MSFN Forum: Copy Files - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Copy Files Rate Topic: -----

#1 User is offline   LabRat63 

  • Group: Members
  • Posts: 2
  • Joined: 25-November 11
  • OS:none specified
  • Country: Country Flag

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 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 7,756
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

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","")

#3 User is offline   LabRat63 

  • Group: Members
  • Posts: 2
  • Joined: 25-November 11
  • OS:none specified
  • Country: Country Flag

Posted 25 November 2011 - 01:01 PM

Thank you. BBL to try it

#4 User is offline   alfreire 

  • Group: Members
  • Posts: 5
  • Joined: 07-August 11
  • OS:Vista Ultimate x64
  • Country: Country Flag

Posted 27 November 2011 - 04:06 AM

View PostKelsenellenelvian, on 25 November 2011 - 12:44 PM, said:

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... ;-)

This post has been edited by alfreire: 27 November 2011 - 04:08 AM


#5 User is offline   alfreire 

  • Group: Members
  • Posts: 5
  • Joined: 07-August 11
  • OS:Vista Ultimate x64
  • Country: Country Flag

Posted 03 December 2011 - 10:35 AM

View Postalfreire, on 27 November 2011 - 04:06 AM, said:

View PostKelsenellenelvian, on 25 November 2011 - 12:44 PM, said:

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... ;-)

#6 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 7,756
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

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 User is offline   alfreire 

  • Group: Members
  • Posts: 5
  • Joined: 07-August 11
  • OS:Vista Ultimate x64
  • Country: Country Flag

Posted 10 December 2011 - 03:48 AM

View PostKelsenellenelvian, on 08 December 2011 - 09:59 PM, said:

In the config wizard you pick jscript create shortcut and a wizard pops up that help you with that...

Thank you... :thumbup
Regards... ;-)

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy