java & InnoSetup

C

christian

Hi,

have anybody a small script example, how i
could define path and classpath (win2k) variables in the *.iss
script, i'm little confused about the amount of possible
modifications in registry.

many thanks & regards,christian
 
D

Djordje Trifunovic

christian said:
Hi,
have anybody a small script example, how i
could define path and classpath (win2k) variables in the *.iss
script, i'm little confused about the amount of possible
modifications in registry.
many thanks & regards,christian


Try this:

....
[Registry]
Root: HKCU; Subkey: "Environment"; ValueType: string; ValueName: "Path"; ValueData: "{%PATH};c:\my_path"
....

Similar for classpath. Hope this helps.

Regards,
Djordje
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top