uninstall from Add/Remove programs
Posted 15 February 2006 - 01:23
During Uninstall, when I ckick .msi/exe, it uninstalls the product in UI mode. This is ok. But when I uninstall from Add/Remove programs in control Panel, the uninstallation is in silent mode with basic user feedback. I want when I click to remove from Add/Remove programs then also uninstallation will happen in UI mode. What settings are required for that.
pl help me
Posted 15 February 2006 - 14:01
- Disable the Remove button (ARPNOREMOVE) thus forcing your users to uninstall via Modify > Maintenance Type dialog
- Set ARPSYSTEMCOMPONENT so that Windows Installer doesn't create any uninstall entries in ARP, and use the Registry view to create your own uninstall registry entries.
In both cases the result will be non-standard behaviour which might be confusing to users.
Stefan Krüger
InstallSite.org twitter facebook
Posted 19 February 2006 - 13:03
Stefan Krueger,
but in other distribution kits written on InstallShield (MSI Project) I saw as at click on Uninstall.exe (and in Add/Remove window by button "Change/Remove") was caused full UI. How it was possible to them? (even presumably)
Posted 19 February 2006 - 20:25
Stefan Krüger
InstallSite.org twitter facebook
Posted 22 February 2006 - 15:08
QUOTE |
- Set ARPSYSTEMCOMPONENT so that Windows Installer doesn't create any uninstall entries in ARP, and use the Registry view to create your own uninstall registry entries |
Stefan Krueger, can you tell me, please, how to create my own uninstall registry entries (such to add a line in Add/Remove window and full UI for "Remove" button and for Uninstall.exe file)? (or where I can find such information)
Edited by Druid, 22 February 2006 - 15:43.
Posted 23 February 2006 - 17:27
Stefan Krüger
InstallSite.org twitter facebook
Posted 24 February 2006 - 15:23
1. When I set ARPSYSTEMCOMPONENT = 1, InstallShield continue to create records in HKLM\Software\Microsoft\Windows\Current Version\Uninstall
2. If I try to change in key HKLM\...\Uninstall\{...} property UninstallString, it give not result.
3. If I delete in IS IDE from Sequences "RegisterProduct", then records in HKLM\...\Uninstall DON'T created, but in Add/Remove window still created record for my installation product.
There must be some other (more easier) way to create UI for uninstallation...
Posted 24 February 2006 - 16:30
Stefan Krüger
InstallSite.org twitter facebook
Posted 24 February 2006 - 17:19
Can I reach same results with 1 record in register?
Posted 25 February 2006 - 12:29
QUOTE |
but in HKLM\...\Uninstall creating 2 records for 1 product - this is not professionally in my opinion... |
Why not?
Stefan Krüger
InstallSite.org twitter facebook
Posted 27 February 2006 - 20:40
Posted 28 February 2006 - 15:50
Stefan Krüger
InstallSite.org twitter facebook
Posted 28 February 2006 - 17:06
Posted 28 February 2006 - 18:36
Edit: Sorry for my post in German language. Here is the English text:
I cannot reproduce this. For me it doesn't create an uninstall.exe but the shortcut is pointing to [SystemFolder]msiexec.exe. The command line parameters are /x {D6303886-5025-470E-9009-E0D0D9E76022} . You could change this to /i {D6303886-5025-470E-9009-E0D0D9E76022} REMOVE=ALL or use a custom property that you would use to display the dialogs you want. Or simply use /i {D6303886-5025-470E-9009-E0D0D9E76022} to display the maintenance dialog.
Stefan Krüger
InstallSite.org twitter facebook
Posted 01 March 2006 - 17:57
But (!),
QUOTE |
after that I try to add my own record in HKLM\...\Uninstall by adding new key and properties DisplayName and UninstallString with value msiexec.exe /x{<ProductCode>} /qf |
How to add for this new record in Add/Remove window, at least, display property Size (like in all other programs - above Change/Remove button)?
And, if it possible, else properties: Used (frequency of use) and Last Used On. (but it is not necessarily)
Posted 01 March 2006 - 23:25
Аnd on record from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall creates one more record in Add/Remove if in H_L_M\ ... \Uninstall put property WindowsInstaller = 0 (instead of 1)
Also have found one more copy of the description of uninstall-process on path HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-21-1545452614-2123500942-3424044065-500\Products\CA2076D9A386A8442BD9C2F301FB1A92\InstallProperties, but what it is - has not cleared up yet.
Questions:
1. Whether it is possible to disable somehow showing record in Add/Remove from HKEY_USERS\S-1-5-21...\Software\Microsoft\Installer\Products\CA20... (in order to there will be only an output from HLM\ ... \Uninstall)? Simply to put ARPSYSTEMCOMPONENT will not help, as then it will be impossible to show anything about this product in Add/Remove.
2.Wherefrom this values takes:
S-1-5-21-1545452614-2123500942-3424044065-500 (it seems, it's constant for different installations)
and CA2076D9A386A8442BD9C2F301FB1A92 (it is not ProductCode and not UpdateCode)
And from what variables they can be got? (etc.)
Posted 06 March 2006 - 13:55
1. How to add in record in Add/Remove window property Size (like in all other programs - above Change/Remove button)?
Poroperties Size and EstimatedSize in register dont help...
or
2. How to disable showing record in Add/Remove from
HKEY_USERS\S-1-5-21-1545452614-21235...\Software\Microsoft\Installer\Products\CA2076D9A386A8442...?
(this record creates by default and record from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\...\Uninstall shows only if change property [b]WindowsInstaller[b] to 0).
Posted 06 March 2006 - 15:58
need add property InstallLocation with value [INSTALLDIR] (and if this record was already present in register - delete cache from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Management\ARPCache\[ProductCode]
There is remain only a second question...