Old 7th March 2002, 08:54   #1
Barto_Fove
Junior Member
 
Join Date: Mar 2002
Posts: 1
Instal types

Hi,

I'm trying to put in the registry the install type (ie : Custom, complete, mini), but I don't know how to do

Thanks to help me

Barto_Fove is offline   Reply With Quote
Old 7th March 2002, 14:21   #2
Smile2Me
Guest
 
Posts: n/a
Hi Barto,

what you can do is using user variables to check whether or not a section has been executed.
eg. set $R0 to 0 at .onInit using StrCpy $R9 "0" and set it to 1 if a section has been visited, eg:
section "Some additional stuff"
StrCpy $R9 "1"
...
sectionend

In a final section you can test the user variables for visited sections and write the info you want to the registry.

Good luck, I hope this answers the question a bit, it's not possible to retrieve "Custom" or "mini" directly in NSIS, though I would like to see this feature. I believe someone made a patch for this a while ago. Just search the forum.

-Hn3.
  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