Kreol Posted October 30, 2008 Posted October 30, 2008 (edited) Not much bayt with the English a little bit badHello. I have a question. I can not understand how the function Filecopy The actual part of the config file is: / / Your programs here ... //------------------------------------------------ --------------------------------------------- pn = 1; prog [pn] = ['123 ']; bit64 [pn] = [ 'no']; uid [pn] = ['123 ']; dflt [pn] = [ 'yes']; cat [pn] = [ 'Applications']; forc [pn] = [ 'no']; cmd1 [pn] = [ 'FILECOPY ( "\% wpipath% \ Install \ wpi_log.txt \", "\% SYSTEMDRIVE% \ wpi_log2.txt \ ")']; pn + +;What I want to achieve. I have a portable application. And I just want them to install the copy on a disc contains registration data. And nowhere plainly does not describe how these features work. Took of the standards. ================================================== ================= KopirovatFayl (FileCopy) Syntax: KopirovatFayl (<Filename source "," Filename receiver>) Options: <Filename source> (required) Type: String. Full name of the file source. <Filename receiver> (required) Type: String. Full name of the file-receiver. Description: Copies file-source file-receiver. Allowed overwrite the file-receiver Note: The file receiver when you create will have access rights same assigned when creating new files (ie the right of access to source files are not copied). Permissible to use schemes http, https and ftp for addressing files. With these schemes need to address you directly sleshi '/' rather than backward '\'. Example: KopirovatFayl ( "C: \ Temp \ Order.htm", "C: \ My Documents \ Order.htm");================================================== ======== Please explain explain danuyu problem. Edited October 30, 2008 by Kreol
mritter Posted October 30, 2008 Posted October 30, 2008 Relax....some of us have to work.FILECOPY c:\folder\file.ext w:\folderDon't put parenthesis' around the names and no comma. Just like you would do in a command line prompt.
Kreol Posted October 31, 2008 Author Posted October 31, 2008 Thank you earned. Another issue by, and is there a description of all functions with examples, because the manual I have not found
Kelsenellenelvian Posted October 31, 2008 Posted October 31, 2008 Read the changelog...It covers NEARLY everyfunction in WPI.
Kreol Posted October 31, 2008 Author Posted October 31, 2008 Changelog is good. Just why not make these settings in the help file? Just because search and contact with them, it would be easier.
Kelsenellenelvian Posted October 31, 2008 Posted October 31, 2008 I am rewriting the manual now... 10 chapters. It's just a pian in the a**. I hate book work.The next full release will have a better manual.
Kreol Posted November 4, 2008 Author Posted November 4, 2008 (edited) I stood at a standstill. I thought that everything would be fine. I did not get copied from one folder to another, only that which is itself WPI, ie, I can not copy the data in such programs fayls. Write to me pliz as needed through filecopy copy in different folders.And by the way, specifically looking for a changelog about filecopy written two words and no examples Edited November 4, 2008 by Kreol
Kreol Posted November 8, 2008 Author Posted November 8, 2008 Well, if I write like this cmd1 [pn] = [ 'FILECOPY ( "\%wpipath%\Install\wpi_log.txt" "\%PROGRAMFILES%\"' ]it no longer works. In any directory that does not pokazhesh. You may have the option to make SFX archive??? Only once again the question as set copying it where you want? Through 8.cmd
mritter Posted November 8, 2008 Posted November 8, 2008 Take the open paranethis outcmd1 [pn] = ['FILECOPY "\\%wpipath%\\Install\\wpi_log.txt" "\\%PROGRAMFILES%\\"'];double slashes in config.js only. Not in the actual config wizard.
Kreol Posted November 10, 2008 Author Posted November 10, 2008 (edited) Write that success, but the file does not appear !!!!!!!!!!!!So logfile The log file installation WPI The installation process started in: 10 Nov., 2008 8:39:47 ............. The list of programs that will be installed: 123 1 Items 1 Kommandy ----- 10 Nov, 2008 8:39:47 Program: 123 ID: 123 Ordering: 900001 Category: Applications 10 Nov, 2008 8:39:47 - cmd1 Success (returned code 1): CMD / C copy C: \ WPI \ Install \ wpi_log.txt C: \ Program Files \ 10 Nov, 2008 8:39:47 - Installation complete. ----- The number of failed installations: 0 The installation process completed: 10 Nov., 2008 8:39:47==================================================CONFIG.JS / / Your programs here ... //------------------------------------------------ --------------------------------------------- pn = 1; prog [pn] = ['123 ']; bit64 [pn] = [ 'no']; uid [pn] = ['123 ']; dflt [pn] = [ 'yes']; cat [pn] = [ 'Applications']; forc [pn] = [ 'no']; cmd1 [pn] = [ 'FILECOPY "%wpipath%\\Install\\wpi_log.txt" "%PROGRAMFILES%\\"']; pn + +;If a man works pliz send files. config.js and those who still need Edited November 10, 2008 by Kreol
Kreol Posted November 11, 2008 Author Posted November 11, 2008 Guys Why then this command if it is not documented anywhere in changelog'e only in two places and then skolzko. And not working for a human.???
mritter Posted November 12, 2008 Posted November 12, 2008 It's not documented because it is not difficult to use.FILECOPY "C:\test.exe" "Z:\"Are you sure the file exists?
Kreol Posted November 12, 2008 Author Posted November 12, 2008 I can not understand why, but began to work.Perhaps just the thing in the syntax was or glyukavoy windows All thanks, principle issue is closed.A further 1 question is set to classes starting??? Through the registry file. And whether it is possible to comply with program icons. Ie if the file ms word that he was an icon ms word rather than another.
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