Quote:
Originally Posted by Cesar82
You said you're trying to use {sd}
but the error reports {commonsd}.
Constant called {commonsd} does not exist in Inno Setup.
You should only use {sd}.
The CIU code has an ISPP parameter for compatibility with Inno Setup 5 and also Inno Setup 6.
When used with Inno Setup 6 add "commom" before "pf" to compatibility with Inno Setup 6.
Code:
Just change the line:
DefaultDirName={{#defined(IS_V6) ? "common" : ""}pf}\{code:GetAppPublisher}\{code:GetAppName}
To:
DefaultDirName={sd}\{code:GetAppPublisher}\{code:GetAppName}
These changes above will not change the path in DirEdit.
It is also necessary to look in the code and change "{pf}" to "{sd}" also on this line (Here is line 22357).
Code:
WizardForm.DirEdit.Text := AddBackslash(ExpandConstant('{pf}\') + GetAppPublisher('')) + GetAppName('');
|
for me it's line 22366 because I use the u2 version and not u3 because decompression problem as explained later
thanks