We're evaluating InstallAware Developer and need to call some external command lines and scripts with the name of the computer that the script is running on. How would we get automatically get this information without user intervention and put it in a variable to pass to the run command?
Another question - we first installed Express and then when we realised we needed scripting uninstalled and installed Developer. However when we try to build projects now we get 'Include script C:\\Program Files\\InstallAware Express 5\\runtimes\\checkmsi20.msi not found on disk' - how do we fix this?
Passing the computer name to a command line
-
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
Hi!
You can obtain the computer name using the Get System Settings command, Logged on Computer name field. This command stores its result in a variable that you specify, you may then use the Run Program command and pass this variable, using the form $VAR$, to the external tool you will be running.
As for your second question, reinstalling (or repairing) the Developer installation - with all features selected - ought to do the trick.
You can obtain the computer name using the Get System Settings command, Logged on Computer name field. This command stores its result in a variable that you specify, you may then use the Run Program command and pass this variable, using the form $VAR$, to the external tool you will be running.
As for your second question, reinstalling (or repairing) the Developer installation - with all features selected - ought to do the trick.
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Get System Settings works, install still broken however
Getting the computer name works fine - thanks. Is this anywhere in the manual? I couldn't find it anywhere.
Unfortuately not. I have worked around it by creating a fake InstallAware Express 5\\runtimes directory and copied the runtime files accross from the Developer installation but uninstall/reboot/reinstall didn't work - I tried it several times.
As for your second question, reinstalling (or repairing) the Developer installation - with all features selected - ought to do the trick.
Unfortuately not. I have worked around it by creating a fake InstallAware Express 5\\runtimes directory and copied the runtime files accross from the Developer installation but uninstall/reboot/reinstall didn't work - I tried it several times.
-
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
Thanks for your reports and feedback. I'll have a developer check on your report. Our manuals are rather scarce but please - we're here to help - so ask if you have any questions!
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 108 guests