PDA

View Full Version : MainForm Error in Simple Installer Script


ridethelightning
20-06-2025, 11:44
I'm new to repacking and I know MainForm is no longer supported in Inno, but it's in the simple installer script. How can I modify it so I don't have to use MainForm?

The line with the error is this one:
if ISDoneInit(ExpandConstant('{tmp}\records.inf'), $F777, 0, 0, 0, MainForm.Handle, 512, @ProgressCallback) and FileSearchInit(True) then

ridethelightning
20-06-2025, 23:42
if ISDoneInit(ExpandConstant('{tmp}\records.inf'), $F777, 0, 0, 0, WizardForm.Handle, 512, @ProgressCallback) and FileSearchInit(True) then


Thank you so much!! It worked!