Old 13th October 2006, 06:39   #1
cwallukat
Junior Member
 
Join Date: Oct 2006
Posts: 1
Multi instance installation

Hi all,


i need to create a setup of a product which can be installed more than once and everytime installed it should apper in the controlpanel as a single product with the name of the instance.

So what i need is to change:

!define PRODUCT_NAME
!define PRODUCT_DIR_REGKEY
!define PRODUCT_UNINST_KEY

I have tryed it, but with
strcpy $(PRODUCT_NAME) "something"
it does not work.

Maybe that this are not real variables ?
Is there another way to do this ?
Do i also need to change the product GUID like in installshield ?

Please help me

Kind regards


Christian
cwallukat is offline   Reply With Quote
Old 13th October 2006, 16:10   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
!define creates a compile time constant. Variables are created with the Var instruction. It might be a better idea to use $R0-$R9 or $0-$9 though if you want to save on memory use (they are predefined).

-Stu
Afrow UK 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