<< Click to Display Table of Contents >> Navigation: 2. Components > 2. EXE-Compiler > Smart Package Robot 's "Script to Executable" Compiler |
Compiler-Directives
#RAU.
Run Executable as User
Intention
You can start a package in the context of another user. You have to provide the Login, password and domain (Login Information) for that user.
This command is processed by the editor and the compiler at compiletime. It is completely ignored while script execution. The Login informations are stored in an encrypted way in the package. They will be removed from the script that is finally compiled into the package. This way there is a maximum (while not perfect) level of security for your user-login information.
There are two versions of this command:
'#RAU:ask
A dialog will appear. In this dialog you can provide the user login information.
'#RAU:(Login)|(Password)|(Domain)
In this case you need to provide the user login information in the script file. Note that these will be removed from the script that is finally compiled into the package.
Syntax:
'#RAU:Login|Password|Domain
'#RAU:ask
Example:
'----------------------------------------
' '#RAU:ask
'----------------------------------------
' The following line will show a dialog to set the user Login and password for the final package
'#RAU:ask
'
'MBX.!
END.
'----------------------------------------
' '#RAU:(Login)|(Password)|(Domain)
'----------------------------------------
' The following line will make the package use this user('s rights) to start the package
' You need to replace these with real account informations
'
'#RAU:MyLogin|MyPassword|MyDomain
'
'MBX.!
END.
Parameter Explanation:
-
Remarks:
-
Limitations:
'#RAU: does NOT cooperate with '#EXV: at this time. You can only use one of these in one compiled executable.
In case you would need both, try using '#RAU: and then start another compiled executable using EXV.-Command.
See also:
• Execution Commands and the Hidden Desktop
See further:
•2.1.2 #AOS: - Choose valid OS for executable
•2.1.3 '#EXE: - Set Executable Path and Name
•2.1.4 '#EXV: - Execute on System Desktop
•2.1.5 '#HID: - Hidden Desktop Scripts
•2.1.7 '#SPI: - Special Instructions
•2.1.8 '#INC: - Include Files and Folders into the Executable
•2.1.9 '#EXC: - Exclude Files or Dirs from Executable
•2.1.A #LIB: - User-Library Path
•2.1.B #CRY: - enCrypt the Script
•2.1.C '#AFT: - Run AFTER Compile
•2.2.1 '#ICO: - Choose own Icon
•2.2.2 '#ICF: - Icon from Icon-Folder
•2.2.3 '#ICS: / '#ICS: Icon-Set
•2.3.0. '#MAN: - Manifest for Executable
•2.3.1. '#MAU: - UI-Access for Manifest for Executable
•2.4.0. '#VER: - Version-Informations
•2.5.0. '#CIL: - Direct Compiler Interface