PDA

View Full Version : script error


lolaya
09-07-2020, 07:34
...............

Masquerade
09-07-2020, 10:51
my script works fine on inno setup 5 version

but 6 ver have error msg unknown identifier

how to fix it? :)

This happens often when trying to compile scripts written in Inno 5 with Inno 6.

If your script works in Inno 5 - just use Inno 5 :D

Jiva newstone
09-07-2020, 11:02
my script works fine on inno setup 5 version

but 6 ver have error msg unknown identifier

how to fix it? :)

May be some class or var is missing , give some more info or screenshot

lolaya
09-07-2020, 11:31
screenshot :)

https://fileforums.com/attachment.php?attachmentid=27378&stc=1&d=1594319489

Jiva newstone
09-07-2020, 19:40
screenshot :)

https://fileforums.com/attachment.php?attachmentid=27378&stc=1&d=1594319489

Remove that setfocus line and also if it again show an error in
Wizardform.nextbutton.click then change it to wizardform.nextbutton.onclick(nil);
There are some more that new inno is different from inno 5

lolaya
10-07-2020, 08:59
extra errors

maybe no support

Jiva newstone
10-07-2020, 09:28
extra errors

maybe no support

remove it and try again or replace it with some both supported codes

lolaya
10-07-2020, 12:21
cannnot find Wizardform.nextbutton.click

Jiva newstone
10-07-2020, 20:56
cannnot find Wizardform.nextbutton.click

If u still getting errror send me the script in dm