Override ARP dialog entries in IA11
Posted: Mon Apr 23, 2012 8:26 am
Hi
I need to create separate installations of the same software for different clients, each of whom wants his own Publisher name, Contact name, Help link, etc displayed in the ARP applet. Previously I just created separate projects, but it seems such a waste not to do it in MSI code. I tried something like the following:
if Variable CLIENT Equals BB
Write Registry Key HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$TITLE$\HelpTelephone, +27 (0)11-xxx-yyyy
Write Registry Key HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$TITLE$\Publisher, BB South Africa
Write Registry Key HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$TITLE$\Contact, [email protected]
Write Registry Key HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$TITLE$\HelpLink, http://www.bb.co.za
end
if Variable CLIENT Equals BE
Write Registry Key HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$TITLE$\HelpTelephone, +49-yyy-zzzzz
Write Registry Key HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$TITLE$\Publisher, BE Europa
Write Registry Key HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$TITLE$\Contact, [email protected]
Write Registry Key HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$TITLE$\HelpLink, http://www.be.de
end
but it only works for HelpTelephone, which is not one of the fields in the IA ARP dialog. I would always get whatever are in the ARP dialog for the other three, be it blanks or dummy entries. These values are displayed by the ARP applet as well as in the registry. I've tried putting the code before and after Apply Intall.
Is there any way of getting around IAs Add-Remove Programs entries?
Thanks
Piet
I need to create separate installations of the same software for different clients, each of whom wants his own Publisher name, Contact name, Help link, etc displayed in the ARP applet. Previously I just created separate projects, but it seems such a waste not to do it in MSI code. I tried something like the following:
if Variable CLIENT Equals BB
Write Registry Key HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$TITLE$\HelpTelephone, +27 (0)11-xxx-yyyy
Write Registry Key HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$TITLE$\Publisher, BB South Africa
Write Registry Key HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$TITLE$\Contact, [email protected]
Write Registry Key HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$TITLE$\HelpLink, http://www.bb.co.za
end
if Variable CLIENT Equals BE
Write Registry Key HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$TITLE$\HelpTelephone, +49-yyy-zzzzz
Write Registry Key HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$TITLE$\Publisher, BE Europa
Write Registry Key HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$TITLE$\Contact, [email protected]
Write Registry Key HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$TITLE$\HelpLink, http://www.be.de
end
but it only works for HelpTelephone, which is not one of the fields in the IA ARP dialog. I would always get whatever are in the ARP dialog for the other three, be it blanks or dummy entries. These values are displayed by the ARP applet as well as in the registry. I've tried putting the code before and after Apply Intall.
Is there any way of getting around IAs Add-Remove Programs entries?
Thanks
Piet