Hello,

I'm using scripts[1] to install applications, I want to modify my
install.cmd to wrapp the unattended.cmd call with execute-elevated.js

I have a problem, tested with win7, in install.cmd :
- set ELEVATE=\\myserver\PATH\TO\execute-elevated.js
- replace: call "%INSTALLER_LOC%%INSTALLER%"...
  with: cscript /Nologo "%ELEVATE%" "%INSTALLER_LOC%%INSTALLER%"...

When I run: \\myserver\PATH\TO\install.cmd:
- I get the UAC prompt, I select OK
- a new cmd window is open and immediatly closed, nothing is installed

I put "echo DEBUG > %TMP%" at the top of unattended.cmd and see that
nothing is created, so the script is not called.

Any hints or idea?

Regards.

Footnotes: 
[1]  http://wpkg.org/User:Dad

-- 
Daniel Dehennin
RAIP de l'Orne

Attachment: pgpfdY06hEIQg.pgp
Description: PGP signature

-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Reply via email to