How to pass a parameter through "Run & # 8594; Parameters" in Inno Setup?

I worked with passing command line parameters through the command line. (/d<name>=<value>). He works.

Later, I found an "parameters"option in the "Run""Inno Setup 5" menu. I tried, but could not get through. My attempts

"/dWish=Hello"

/dWish=Hello

"Wish=Hello"

Wish="Hello"

Wish="Hello"

Wish=Hello

And access as {#Wish}. But compilation with an errorundeclared identifier "Wish"

This is for option enter image description here

+4
source share
1 answer

, RunParameters, , (ISCC). , , InnoSetup .

, /D. , VAR val, :

iscc "/dVAR=val" "MyInstallerScript.iss"

ISCC.exe :

%programfiles%\Inno Setup 5\ISCC.exe

+1

All Articles