Discussion:
I can't disable "Repair" feature in my installer
(too old to reply)
Mikhail Golovnykh
2004-01-22 03:01:06 UTC
Permalink
Hi
I created an installer project in VS.NET2003. It generates setup.exe and setup.msi file

I need to disable "Repair" feature in my installer. It is impossible to do that in Visual Studio (as far as I know). So, I use ORCA.exe to modify the contents of .msi file. SDK Documentation says that i am supposed to create a property ARPNOREPAIR

So, I created a property ARPNOREPAIR in "Property" table with value=yes. But it did not effect anything - repair feature still exists. I used different values for value column - it did not help

What should I do

Thank you
Mikhail Golovnykh
Stefan Krueger [MVP]
2004-01-22 10:15:32 UTC
Permalink
Setting ARPNOREPAIR should disable the "Repair" button in the control panel
on Windows 2000 and above.
Where do you still see the repair option? In control panel (which Windows
version) or in your setup (wizard pages)?
--
Stefan Krueger
Microsoft Windows Installer MVP

Please post your questions in the newsgroup or vist one of these web sites:

Windows Installer FAQ
http://www.msifaq.com - http://www.msifaq.de

InstallSite - Resources for Setup Developers
http://www.installsite.org
http://www.installsite.de (GERMAN)
Post by Mikhail Golovnykh
Hi,
I created an installer project in VS.NET2003. It generates setup.exe and
setup.msi file.
Post by Mikhail Golovnykh
I need to disable "Repair" feature in my installer. It is impossible to do
that in Visual Studio (as far as I know). So, I use ORCA.exe to modify the
contents of .msi file. SDK Documentation says that i am supposed to create a
property ARPNOREPAIR.
Post by Mikhail Golovnykh
So, I created a property ARPNOREPAIR in "Property" table with value=yes.
But it did not effect anything - repair feature still exists. I used
different values for value column - it did not help.
Post by Mikhail Golovnykh
What should I do?
Thank you,
Mikhail Golovnykh
Mikhail Golovnykh
2004-01-22 22:46:11 UTC
Permalink
I still see the repair option in two cases (technically, as i understand they are the same)
1. Clicking change in Control Panel starts wizard and there is an option to repair
2. Starting setup.exe (after software is already installed) shows the same wizard with the same option

OS: Windows XP Home Edition. Build 2600. Service Pack 1.

But, anyway, what value should I set for ARPNOREPAIR row in Property table?

Thank you,
Mikhail Golovnykh
Post by Stefan Krueger [MVP]
Setting ARPNOREPAIR should disable the "Repair" button in the control panel
on Windows 2000 and above.
Where do you still see the repair option? In control panel (which Windows
version) or in your setup (wizard pages)?
Stefan Krueger [MVP]
2004-01-22 23:40:49 UTC
Permalink
ARPNOREPAIR has no effect in these places as this happens inside your setup
(i.e. on the dialogs you have authored)

ARPNOREPAIR only affects the Ad/Remove Control panel wherer by default you
have three buttons: Modify, remove, Repair (you need to click the support
link to get to the Repair button).

If you want to remove the Repair option from your dialogs, you must edit
your dialogs.
--
Stefan Krueger
Microsoft Windows Installer MVP

Please post your questions in the newsgroup or vist one of these web sites:

Windows Installer FAQ
http://www.msifaq.com - http://www.msifaq.de

InstallSite - Resources for Setup Developers
http://www.installsite.org
http://www.installsite.de (GERMAN)
Post by Mikhail Golovnykh
I still see the repair option in two cases (technically, as i understand they are the same)
1. Clicking change in Control Panel starts wizard and there is an option to repair
2. Starting setup.exe (after software is already installed) shows the same
wizard with the same option
Post by Mikhail Golovnykh
OS: Windows XP Home Edition. Build 2600. Service Pack 1.
But, anyway, what value should I set for ARPNOREPAIR row in Property table?
Thank you,
Mikhail Golovnykh
Post by Stefan Krueger [MVP]
Setting ARPNOREPAIR should disable the "Repair" button in the control panel
on Windows 2000 and above.
Where do you still see the repair option? In control panel (which Windows
version) or in your setup (wizard pages)?
Loading...