Skip to content
⌘ NSIS Forum Archive

Modify, Repair, Remove & other Directory´s

5 posts

Perky Jacket#

Modify, Repair, Remove & other Directory´s

Hi,

I have to questions and I hope your can help me 🙂

First question:
How can I include a Modify, Repair, Remove - Feature?
If I start the uninstall.exe or start the Setup of my application again (application is allready installed)
it´s should show the three choices: Modify, Repair and Remove. But how I makes it?

Second question:
My Setup has any different components wich u can install.
But any components required a other directory than other components. How can I include more 'browse' buttons or similars?

I hope your understand and can help me 🙂
Joost Verburg#
1) You can add a components page to your uninstaller. See one-section.nsi if you want that only one option can be selected at a time.

You can also create an InstallOptions page.

2) You can add multiple directory pages each with another DirVar.
Perky Jacket#
I don´t understand the first answer. (not the english 🙂 )
How can i include a Installoption in a uninstaller?
I know how i makes it in the setup.
Maybe u can post a example-code?
Joost Verburg#
Sorry, I have no time to write complete scripts.

An uninstaller contains multiple pages, if you add a components page to your installer the user can choose what to uninstall.

InstallOptions is a plug-in that allows you to create custom pages. Please see the documentation and example files.
Perky Jacket#
Well,

I think I understand. I try it now.
I post reply, If it don´t work. (is this sentence grammatical right?)