PDA

View Full Version : How to add registry entries to different packages?


Kai
12-05-2003, 11:07 AM
Well, I'm just developing a software with different packages. There are now integrated for example package A,B,C.
When I call the setup.exe I can choose between them. When I choose package C only there must be set some registry entries for this package only in the setup creation.
How can I set the registry entries for package C, for example?

I hope you will understand what I mean.

Hope for help.

Kai from Germany

Darryl
12-05-2003, 12:21 PM
Somewhere after your packages have been selected, you can use an IF control structure to create a condition that will perform the Registry action if that package was selected.

For example:

IF (%MyPackageVarC% = TRUE)
Modify Registry action
END IF

Kai
12-05-2003, 02:52 PM
Originally posted by Darryl
Somewhere after your packages have been selected, you can use an IF control structure to create a condition that will perform the Registry action if that package was selected.

For example:

IF (%MyPackageVarC% = TRUE)
Modify Registry action
END IF

Then it says: There can't be two values in a row. (Modify Registry)

It doesn't work.

So what now. It's very important to me to get this job work.

Hope for more help @ Darryl

Kai from Germany

Kai
12-05-2003, 03:17 PM
I've got it, thank ya for your help, I just found out how to do it. I misunderstood the way to do it.

Thanks...

Kai from Germany