Hi,I've just tried Innosetup bu I could not find this option. For my program to work correctly the folder where it is installed should be added to the Path environmental variable. Is there a way to include that in the project script?
--
You received this message because you are subscribed to the Google Groups "innosetup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to innosetup+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/innosetup/330915aa-117a-4d59-90b3-59a386a52b5cn%40googlegroups.com.
I've just tried Innosetup bu I could not find this option. For my program to work correctly the folder where it is installed should be added to the Path environmental variable. Is there a way to include that in the project script?
You received this message because you are subscribed to a topic in the Google Groups "innosetup" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/innosetup/CS3uzYs_zi8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to innosetup+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/innosetup/CAG%2B%2B0n4nW8EqO82a79ek2tWQRjO8wjBW%3DDdtTWW93KaiRF6Meg%40mail.gmail.com.
Thank you guys for your suggestions. SETX via CMD prompt seems to be the easiest but I could not manage to make it work correctly. I guess, I could not figure out the right syntax for the quotes ". The cmd comand should be: setx path "%path%;{app}" and, I guess, I should use [Run], so the string should look like:[Run]
Filename: "cmd.exe"; Parameters: "/c setx path "%path%;{app}""There are nested quotes here. According the Help this is the correct way, however the compiler displays an error. I tried to remove the inner quotes. Then the error disappeared but the code does not work as needed - the folder does not get added to the Path.Can you please help me to compose this string correctly. I am new to Inno Setup, in fact, I am trying it just for this purpose, otherwise my program does not require an installer. So I have no experience with it.