The Community is now in read-only mode to prepare for the launch of the new Flexera Community. During this time, you will be unable to register, log in, or access customer resources. Click here for more information.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

scripts

CChong
By Level 11 Flexeran
Level 11 Flexeran
Could someone please show me how to incorporate this script at the beginning of my package?

Run, C:\\WINNT\\System32\\runas.exe /user:%computername%\\Administrator "C:\\packages\\tracemaster\\setup.exe"

This will enable a regular user on a Windows 2000 PC to install the specific package. I can get it to work if I have this seperate in another script file, but I would like to incorporate it into my setup.exe InstallShield Package, so I won't need to files.

Thanks for any help!!!
(2) Replies

MHagen
By
Level 6
Beaumont,

Thank you for your question. I found some information that may be helpful under the "Launching an Executable" topic in InstallShield Developer's online help. It looks like you can incorporate that directly into your MSI file via Custom Action Wizard.

Hope this helps.

CChong
By Level 11 Flexeran
Level 11 Flexeran
You can either start an exe that was installed with your package (CustomAction 18) or execute the VBS-code directly from the CustomAction-table (CustomAction 38).