Jump to content

Recommended Posts

Posted (edited)

Not much bayt with the English a little bit bad

Hello. 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 by Kreol

Posted

Relax....some of us have to work.

FILECOPY c:\folder\file.ext w:\folder

Don't put parenthesis' around the names and no comma. Just like you would do in a command line prompt.

Posted

Thank you earned. :)

Another issue by, and is there a description of all functions with examples, because the manual I have not found

Posted

Changelog is good.

Just why not make these settings in the help file?

Just because search and contact with them, it would be easier.

Posted (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 by Kreol
Posted

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

Posted

Take the open paranethis out

cmd1 [pn] = ['FILECOPY "\\%wpipath%\\Install\\wpi_log.txt" "\\%PROGRAMFILES%\\"'];

double slashes in config.js only. Not in the actual config wizard.

Posted (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 by Kreol
Posted

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.???

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...