[wpkg-users] AutoIT in login scripts

éric le hénaff eric.le.henaff at ens.fr
Thu Jun 14 16:51:01 CEST 2007


PATH is not set appropriately when run from wpkg.js ?

Michael Mills a écrit :
> I use AutoIT to automate application installations during login.  I only use this for major package installation.
>  
> It appears that some scripts that work when run directly (whether from a UNC path or a mapped drive) do not work when called from WPKG.
>  
> I have attempted using both the mapped drive and UNC approach in WPKG with the same result, the AutoIT script runs, but when it launches the program using the RUN command inside AutoIT, the script fails claiming that it can't find the file to work on.  I have noticed that these tend to be scripts written to be in a subdirectory and are calling a parent directory [ run ("../runme.exe") ].  The statement is that it can't find the application to run.
>  
> Again, when I run it manually it runs without problems.  I am confused as to figure out how to troubleshoot this as WPKG is obviously executing the script.
>  
> Thanks for any help
> Michael

wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users



More information about the wpkg-users mailing list