Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 20-06-2025, 11:44
ridethelightning ridethelightning is offline
Registered User
 
Join Date: Jun 2025
Location: Europe
Posts: 4
Thanks: 3
Thanked 1 Time in 1 Post
ridethelightning is on a distinguished road
Question MainForm Error in Simple Installer Script

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
Reply With Quote
Sponsored Links
  #2  
Old 20-06-2025, 12:04
audiofeel's Avatar
audiofeel audiofeel is offline
Registered User
 
Join Date: Jan 2013
Location: Russia
Posts: 400
Thanks: 457
Thanked 1,013 Times in 344 Posts
audiofeel is on a distinguished road
Quote:
Originally Posted by ridethelightning View Post
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
Code:
if ISDoneInit(ExpandConstant('{tmp}\records.inf'), $F777, 0, 0, 0, WizardForm.Handle, 512, @ProgressCallback) and FileSearchInit(True) then
__________________
https://t.me/FMXInno
Reply With Quote
The Following 2 Users Say Thank You to audiofeel For This Useful Post:
Cesar82 (21-06-2025), ridethelightning (21-06-2025)
  #3  
Old 20-06-2025, 23:42
ridethelightning ridethelightning is offline
Registered User
 
Join Date: Jun 2025
Location: Europe
Posts: 4
Thanks: 3
Thanked 1 Time in 1 Post
ridethelightning is on a distinguished road
Quote:
Originally Posted by audiofeel View Post
Code:
if ISDoneInit(ExpandConstant('{tmp}\records.inf'), $F777, 0, 0, 0, WizardForm.Handle, 512, @ProgressCallback) and FileSearchInit(True) then

Thank you so much!! It worked!
Reply With Quote
The Following User Says Thank You to ridethelightning For This Useful Post:
audiofeel (26-06-2025)
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FMXInno Chronicles: Installer Source Code Index / Repository BLACKFIRE69 Conversion Tutorials 204 02-07-2025 19:29
Light Installer Script (LIS) - DiskSpan_GUI Cesar82 Conversion Tutorials 206 11-05-2025 10:14
Simple Installer Script Masquerade Conversion Tutorials 90 11-11-2024 00:49
INDEX - Conversion Tutorial Index Razor12911 Conversion Tutorials 5 11-06-2020 02:05



All times are GMT -7. The time now is 12:28.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
FileForums @ https://fileforums.com