Archive: repair page


repair page
hi,
is there a way i can set up a repair page, that reinstalls the whole application, or do i need to create a cstom page with install options.
thnkz in advance
ali


you do need to create a custom page :)


is there no defined page in nsis currently to do so?
is there a template i can copy beacuse i'm no good at custom pages?
thnkz


is there a way i can set up a repair page, that reinstalls the whole application...
I didn't get the entire point :)
Exactly where this page should appear in the pages sequence, and what is supposed must do when appears?

sorry, waht i mean is when i have a corrupt file wih any program i start the programs unistaller and click the option to repair the application, it then reinstalls all the core files for the program to run.

what i would like is a way to set this up, presumably on the uninstaller welcome page.(p.s. i use the UMUI beta 1).
thnkz in advance


I see, you want to build something similar to the MSI or IS, right? (repair, remove, reinstall)

No bad idea, I guess should be something like this:
you need a wrapper or a small download starter that extracts/downloads the main installer in a folder e.g. "$WINDIR\Downloaded Installations" and executes the main installer which must remain on target system.

Also you need to build an installer (lets name it pre-uninstaller) which is extracted somewhere with the custom page associated with those actions and direct the uninstall link to this file instead of the common uninstaller So when users go to add/remove programs for your application the pre-uninstaller popped up with those options.

You couldn't know how it'd behave finally and you'd need a lot of effort to achieve it but is possible I guess.


are there any templates for this sort of thing somewhere? i am not vey good at creating custom pages!
thnkz for your help


Design the custom page is the easy part of the job :)
There are several IDEs at wiki which offer a visual environment for InstallOptions,

http://nsis.sourceforge.net/Category...t_Environments


thnkz all