On Vista and Win7 (Rexx) installation scripts sometimes need to change the registry which may be prohibited by the operating system, unless one executes the installation scripts with administrator rights.
To achieve this, one could use the Windows "runAs" program from the commandline supplying as user "Administrator" and the local machine name. [This is actually what I have been experimenting with for the BSF4ooRexx and OOo installation scripts in the past days.] Another possibility seems to be the context menu "runAs", which unfortunately may or may not be avaible on the user's installation. How would one be able to define this context-menu to rex-scripts? Are there any reg-files that one can use as a sample (rex-files need to be executed by rexx.exe, which usually is already defined by the ooRexx installation) ? Is there another possibility which can make this simple for the Vista and W7 users? A manifest kind of file, and if so, how should it look to allow scripts to be executed with the Administrator credentials or where can one learn about it)? Any pointers/opinions highly appreciated! ---rony ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Oorexx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oorexx-devel
