Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-11-2015, 19:57
r4e r4e is offline
Registered User
 
Join Date: Jul 2012
Location: Germany
Posts: 7
Thanks: 1
Thanked 2 Times in 1 Post
r4e is on a distinguished road
Hey, I really like your splash plugin but I have a problem:

If I use your Exaple script, the compiled example automatically closes after the splash
has shown (it shows no wizard, the installer just ends completely).

If I add "Result := True;", the wizard shows up but in the task bar there is an icon for
the installer and the icon for the external loaded plugin - which also is normal
if i use isgsg.dll but in that case the plugin closes when it has shown the splash
(and only the wizard window and its icon stays).



Is there a way to unload/close the plugin after it has loaded so that only the
one icon shows up in the taskbar which is for the installer itself?
Reply With Quote
Sponsored Links
  #2  
Old 18-11-2015, 13:33
JRD!'s Avatar
JRD! JRD! is offline
Registered User
 
Join Date: Sep 2015
Location: Matrix
Posts: 274
Thanks: 225
Thanked 600 Times in 168 Posts
JRD! is on a distinguished road
Quote:
Originally Posted by r4e View Post
Hey, I really like your splash plugin but I have a problem:

If I use your Exaple script, the compiled example automatically closes after the splash
has shown (it shows no wizard, the installer just ends completely).

If I add "Result := True;", the wizard shows up but in the task bar there is an icon for
the installer and the icon for the external loaded plugin - which also is normal
if i use isgsg.dll but in that case the plugin closes when it has shown the splash
(and only the wizard window and its icon stays).



Is there a way to unload/close the plugin after it has loaded so that only the
one icon shows up in the taskbar which is for the installer itself?
Try Force unload module:

Code:
procedure ForceRemove(const ModuleName: string);
var
  hMod: HMODULE;
begin
  hMod := GetModuleHandle(PChar(ModuleName));
  if hMod=0 then 
    exit;
  repeat
  until not FreeLibrary(hMod);
end;
Reply With Quote
Reply


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
BlackBox v2 y_thelastknight Conversion Tutorials 567 11-03-2025 07:16
INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup REV0 Conversion Tutorials 129 21-05-2021 05:51
Useful Dll for Inno Setup users peterf1999 Conversion Tutorials 88 01-12-2017 16:00
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup REV0 Conversion Tutorials 51 26-03-2015 06:57
Inno Setup System Info Library Razor12911 Conversion Tutorials 7 23-03-2014 08:15



All times are GMT -7. The time now is 14:24.


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