Old 20th May 2006, 07:12   #1
Sp33dy G0nz4l3s
Junior Member
 
Join Date: May 2006
Posts: 46
Question Make a Reinstaller

Hi,
I would make a reinstaller for my installer

In this reinstaller the sections which was installed should be marked.

If the user clicks on next the respective sections will be reinstalled.

If he makes the marking away the respective section should be deinstalled. If he marks something which isn't already marked the section should be installed.

Is this possible?

With marked I mean the hook:

Sp33dy G0nz4l3s is offline   Reply With Quote
Old 20th May 2006, 12:15   #2
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
It is possible, you may add the described abilities to your installer, there is not real need to build a "reinstaller" for that.

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 20th May 2006, 19:17   #3
Brummelchen
Major Dude
 
Join Date: May 2003
Posts: 681
speedy - set marks in registry or ini-file what was installed.

Greets, Brummelchen
Brummelchen is offline   Reply With Quote
Old 21st May 2006, 10:29   #4
Database
Junior Member
 
Database's Avatar
 
Join Date: May 2006
Location: Suffolk, England
Posts: 10
Send a message via Yahoo to Database
Please could someone provide a detailed explanatino of how to do this? I need to be able to do this too.
Database is offline   Reply With Quote
Old 21st May 2006, 11:54   #5
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
you may use the InstallDirRegKey (or create a INI for this reason) to store info about components e.g. if component "help files" is installed it is 1, if not installed it is 0. Next time when installer is launched disable the directory page and compare users selection with stored values. So if a component is installed (1) show it checked, then see if users made it not checked, uninstall it, and vice versa. Also you should update your uninstaller every time so when users wish to uninstall the application nothing left behind.

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump