Discussion:
Is there a way to disable or remove the "REPAIR" option through ORCA or Project Properties?
(too old to reply)
Paul Brun
2005-02-11 22:43:48 UTC
Permalink
I am trying to findo ut how to remove the "REPAIR" option when launching the
setup wizard.

I have already done the ARPNOREPAIR and ARPNOMODIFY option which
takes care of the Add/Remove applet within the control panel, however, I
would
like to make this possible with the setup MSI file.

Any suggestions?

Please let me know.
Thanks
Paul
legalize+ (Rich [Microsoft Windows Installer MVP])
2005-02-12 00:23:59 UTC
Permalink
[Please do not mail me a copy of your followup]
Post by Paul Brun
Any suggestions?
Modify the dialog and drop the control that provides the repair
option.
--
"The Direct3D Graphics Pipeline"-- code samples, sample chapter, FAQ:
<http://www.xmission.com/~legalize/book/>
Pilgrimage: Utah's annual demoparty
<http://pilgrimage.scene.org>
Paul Brun
2005-02-12 15:22:05 UTC
Permalink
How do you exactly do that with the .NET Setup and Deployment Wizard? I
don't think
there is an option to modify MaintenanceForm provided by the .NET Setup
package?

Paul
Post by legalize+ (Rich [Microsoft Windows Installer MVP])
[Please do not mail me a copy of your followup]
Post by Paul Brun
Any suggestions?
Modify the dialog and drop the control that provides the repair
option.
--
<http://www.xmission.com/~legalize/book/>
Pilgrimage: Utah's annual demoparty
<http://pilgrimage.scene.org>
Stefan Krueger [MVP]
2005-02-13 14:26:22 UTC
Permalink
That's true. YOu either need a full featured MSI authoring tool, or post
process your built .msi file using Orca or using a VBScript.
--
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 Paul Brun
How do you exactly do that with the .NET Setup and Deployment Wizard? I
don't think
there is an option to modify MaintenanceForm provided by the .NET Setup
package?
Paul
"Rich [Microsoft Windows Installer MVP]"
Post by legalize+ (Rich [Microsoft Windows Installer MVP])
[Please do not mail me a copy of your followup]
Post by Paul Brun
Any suggestions?
Modify the dialog and drop the control that provides the repair
option.
--
<http://www.xmission.com/~legalize/book/>
Pilgrimage: Utah's annual demoparty
<http://pilgrimage.scene.org>
Paul Brun
2005-02-15 13:52:49 UTC
Permalink
That is exactly what I am trying to do, using the ORCA tool. Anyone know how
to remove that option through ORCA??? I don't have a full-featured MSI tool
as
of yet.

Thanks
Paul
Post by Stefan Krueger [MVP]
That's true. YOu either need a full featured MSI authoring tool, or post
process your built .msi file using Orca or using a VBScript.
--
Stefan Krueger
Microsoft Windows Installer MVP
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 Paul Brun
How do you exactly do that with the .NET Setup and Deployment Wizard? I
don't think
there is an option to modify MaintenanceForm provided by the .NET Setup
package?
Paul
"Rich [Microsoft Windows Installer MVP]"
Post by legalize+ (Rich [Microsoft Windows Installer MVP])
[Please do not mail me a copy of your followup]
Post by Paul Brun
Any suggestions?
Modify the dialog and drop the control that provides the repair
option.
--
<http://www.xmission.com/~legalize/book/>
Pilgrimage: Utah's annual demoparty
<http://pilgrimage.scene.org>
Carolyn Napier [MSFT]
2005-02-16 21:19:37 UTC
Permalink
Open the MSI in Orca. In the Tools menu, select "Dialog Preview..." and then
choose "MaintenanceForm". This will display the MaintenanceForm dialog to you.
If this is the dialog you want to edit, then you generally want to remove the
"REPAIR" radio button. You can use the Tools menu to check your dialog as you
make edits prior to actually testing out your package.

Navigate to the "RadioButton" table in the Tables pane. Then delete the row with
Property='MaintenanceForm_Action' and Value='Repair'.

You'll also want to adjust the Property value setting in the Property table for
the Property "MaintenanceForm_Action". Change that to be "Remove".

That should get you closer to what you want.

- Carolyn Napier
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

MSI FAQ:
<http://www.microsoft.com/windows2000/community/centers/management/msi_faq.mspx>
Post by Paul Brun
That is exactly what I am trying to do, using the ORCA tool. Anyone know how
to remove that option through ORCA??? I don't have a full-featured MSI tool as
of yet.
Thanks
Paul
Post by Stefan Krueger [MVP]
That's true. YOu either need a full featured MSI authoring tool, or post
process your built .msi file using Orca or using a VBScript.
--
Stefan Krueger
Microsoft Windows Installer MVP
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 Paul Brun
How do you exactly do that with the .NET Setup and Deployment Wizard? I
don't think
there is an option to modify MaintenanceForm provided by the .NET Setup
package?
Paul
Post by legalize+ (Rich [Microsoft Windows Installer MVP])
[Please do not mail me a copy of your followup]
Post by Paul Brun
Any suggestions?
Modify the dialog and drop the control that provides the repair
option.
--
<http://www.xmission.com/~legalize/book/>
Pilgrimage: Utah's annual demoparty
<http://pilgrimage.scene.org>
Paul Brun
2005-02-17 15:15:50 UTC
Permalink
hmm.....did that and it appears to have had no affect.....strange....it
should have worked
because the Dialog Preview shows the radio button being removed...

Paul
Post by Carolyn Napier [MSFT]
Open the MSI in Orca. In the Tools menu, select "Dialog Preview..." and
then choose "MaintenanceForm". This will display the MaintenanceForm
dialog to you. If this is the dialog you want to edit, then you generally
want to remove the "REPAIR" radio button. You can use the Tools menu to
check your dialog as you make edits prior to actually testing out your
package.
Navigate to the "RadioButton" table in the Tables pane. Then delete the
row with Property='MaintenanceForm_Action' and Value='Repair'.
You'll also want to adjust the Property value setting in the Property
table for the Property "MaintenanceForm_Action". Change that to be
"Remove".
That should get you closer to what you want.
- Carolyn Napier
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
<http://www.microsoft.com/windows2000/community/centers/management/msi_faq.mspx>
Post by Paul Brun
That is exactly what I am trying to do, using the ORCA tool. Anyone know how
to remove that option through ORCA??? I don't have a full-featured MSI tool as
of yet.
Thanks
Paul
Post by Stefan Krueger [MVP]
That's true. YOu either need a full featured MSI authoring tool, or post
process your built .msi file using Orca or using a VBScript.
--
Stefan Krueger
Microsoft Windows Installer MVP
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 Paul Brun
How do you exactly do that with the .NET Setup and Deployment Wizard? I
don't think
there is an option to modify MaintenanceForm provided by the .NET Setup
package?
Paul
"Rich [Microsoft Windows Installer MVP]"
Post by legalize+ (Rich [Microsoft Windows Installer MVP])
[Please do not mail me a copy of your followup]
Post by Paul Brun
Any suggestions?
Modify the dialog and drop the control that provides the repair
option.
--
<http://www.xmission.com/~legalize/book/>
Pilgrimage: Utah's annual demoparty
<http://pilgrimage.scene.org>
Paul Brun
2005-02-17 16:22:29 UTC
Permalink
I just realized my problem.....I was modifying the ORCA file after
installing the application
so I was getting the "Cached" install dialog.

My goal was to remove the radio group in general, so I did the following to
remove the "Repair/Remove"
option and default the action to remove when you press the "Finish" button.

My modifications also include limiting the Add/Remove Program properties to
show only the "remove" option

Property Table Modifications
1) Add the following: ARPNOMODIFY = 1
2) Add the following: ARPNOREPAIR = 1
3) Change MaintenanceForm_Action = Remove

Control Table Modifications
1) Modified "Text" column value ==> {\VSI_MS_Sans_Serif13.0_0_0}Select
"Finish" to remove [ProductName]
for row with values:
Dialog: MaintenanceForm
Control: Body Text

2) Modified "Control Next" value from "RepairRadioGroup" to
"CancelButton" for row with values:
Dialog: MaintenanceForm
Control: FinishButton

3) Delete row with values:
Dialog: MaintenanceForm
Control: RepairRadioGroup

I also changed the "All Users/Me" default setting to "All", but left them
with that option but that had no bearing on this
topic.

So, now I have accomplished my goal thanks for leading me in the right
direction.

Paul

Loading...