[wpkg-users] Silent installs of MSI or exe files.

David Christensen David.Christensen at viveli.com
Tue Aug 11 22:44:12 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rainer Meier wrote:
> Hi Malte,
> 
> Malte Starostik wrote:
>> In such cases I usually put the file in the same directory as the installer, 
>> i.e. somewhere in %SOFTWARE%.  Then, the first (source) argument to the copy 
>> command is on the distribution share and the second (target) argument is on 
>> the local host.  Both of them may be local or remote as long as they're 
>> accessible to the wpks.js process.  This makes %SOFTWARE% a good candiate as 
>> well as the share wpkg.js resides on.
> 
> I think David might be slightly irritated by the fact that the command you
> quoted is incomplete:
> 
> <install cmd='%COMSPEC% /c %SOFTWARE%\MyAppini "%ProgramFiles%\MyApp\'/>
> 
> most probably the following expresses what you intended to demonstrate:
> 
> <install cmd='%COMSPEC% /c copy /Y "%SOFTWARE%\MyApp.ini" "%ProgramFiles%\MyApp\"'/>
> 
> Quotes around the source/target path are strongly advised too because the path
> might contain spaces (e.g. "%ProgramFiles%" resolves to "C:\Program Files" on a
> default system in EN language).
> 
> br,
> Rainer
Thanks for the help with this, looks like I got it working.  The file
needed to be installed under C:\Windows, I had to specify the absolute
path in order for it to work %Windows% wouldn't work for me.

<install cmd='%COMSPEC% /c copy "\\192.168.155.20\wpkg\mit\krb5.ini"
"C:\Windows\"' />
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkqB2BwACgkQ5B+8XEnAvqte/gCfdphZVOUaNoEPYlcMkWBn6Gvm
TW8AnjvrTp+yDCxgUIDu9UqpG2y7HG1/
=mmVb
-----END PGP SIGNATURE-----



More information about the wpkg-users mailing list