See topic : http://www.installaware.com/forum/viewtopic.php?t=521
I know it is not possible to set variables, such as "publisher", in your script. Simply fill all of the textboxes in the options-dialog.
IA will create a registry entry for the Add/Remove program list.
Unfortuanlly Not every setting is available in this dialog.
The following registry keys are not available:
HelpTelephone
ModifyPath
NoModify
NoRepair
URLinfoAbout
Readme
I tried to add these manually by adding adittional data to the regisrty:
HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\$PRODUCTCODE$\\URLUpdateInfo "http://www.bma-mosos.nl"
but it did not work.
I the tried to run this code áfter the "Apply install" command, and still nothing happened.
I used packageaware to detect the registry settings made by the setup, and I detected that the displayname of the product is stored in a registry key inside : HKCR\\Installer\\Products\\[Number]\\Productname
But I can't find the used numer anywhere inside the IA script or Options dialog.
Is there any way to add additional information to the registry and get the generated numer?
Add Additional data to Add/Remove programs list
These are the extra info keys I update in all my IA Packages:
Write Registry Key HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\$TITLE$\\DisplayVersion, $VERSION$
Write Registry Key HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\$TITLE$\\HelpTelephone, 800-631-5867
Write Registry Key HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\$TITLE$\\ReadMe,
Write Registry Key HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\$TITLE$\\RegCompany, $USERCOMPANY$
Write Registry Key HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\$TITLE$\\RegOwner, $USERNAME$
I do all of these before "Apply Install". The NoRepair and NoModify are set the same way.
The product Information URL is located in project options off the Project menu item.
Write Registry Key HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\$TITLE$\\DisplayVersion, $VERSION$
Write Registry Key HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\$TITLE$\\HelpTelephone, 800-631-5867
Write Registry Key HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\$TITLE$\\ReadMe,
Write Registry Key HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\$TITLE$\\RegCompany, $USERCOMPANY$
Write Registry Key HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\$TITLE$\\RegOwner, $USERNAME$
I do all of these before "Apply Install". The NoRepair and NoModify are set the same way.
The product Information URL is located in project options off the Project menu item.
Thanx,
I tried it and it works fine!
But is it not possible to overwrite the keys written by IA ?
like this:
So the comment line in the popup of the Add/Remove list, will be "Hello World!" instead of the default value typed in the project options dialog? (default = All rights reserved)
I tried it and it works fine!
But is it not possible to overwrite the keys written by IA ?
like this:
Code: Select all
Set Variable COMMENT to Hello World!
Write Registry Key HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\$TITLE$\\Comments, $COMMENT$
So the comment line in the popup of the Add/Remove list, will be "Hello World!" instead of the default value typed in the project options dialog? (default = All rights reserved)
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
No, these are set in the Project Options window. Their values cannot be overriden from the setup script, but some are mirrored in setup script variables, such as $TITLE$ and $COMPANY$.
Michael Nesmith
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 152 guests