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 07-01-2020, 10:55
Proxson's Avatar
Proxson Proxson is offline
Registered User
 
Join Date: Nov 2017
Location: Croatia
Posts: 45
Thanks: 34
Thanked 26 Times in 19 Posts
Proxson is on a distinguished road
*knock...knock...anybody home ?

Edit: Ok, I got the Registry "issue" under control. It's not an elegant solution but it works. Till someone finds something better.

Code:
#define AppPublisher "SEGA"
Code:
   { remove product code registry entrie }
    if ProductCode <> '' then
      RegDeleteKeyIncludingSubkeys(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\' + ProductCode);
      RegDeleteKeyIncludingSubkeys(HKLM, 'SOFTWARE\{#AppPublisher}');
  end;
end;
Eh, now the Start Menu shortcuts...

Last edited by Proxson; 07-01-2020 at 17:12.
Reply With Quote
Sponsored Links
  #2  
Old 07-01-2020, 19:04
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Proxson View Post
*knock...knock...anybody home ?

Edit: Ok, I got the Registry "issue" under control. It's not an elegant solution but it works. Till someone finds something better.

Code:
#define AppPublisher "SEGA"
Code:
   { remove product code registry entrie }
    if ProductCode <> '' then
      RegDeleteKeyIncludingSubkeys(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\' + ProductCode);
      RegDeleteKeyIncludingSubkeys(HKLM, 'SOFTWARE\{#AppPublisher}');
  end;
end;
Eh, now the Start Menu shortcuts...
You have greatly altered the original CIU script.
There will be some bugs with these changes.
The About page has stopped working.
You can change the script for your use, but I ask you to keep the About page working and original by displaying the credits of the original CIU contributors and translators.

Answering your question:
CIU does not create an uninstaller as in conventional Inno Setup installers (Unis000.exe, Unis000.dat).
Uninstall.exe from the installation folder is the same Setup.exe file that is copied to the folder and the uninstall functions are all defined in the code section.
Therefore the installer does not remove icons included in the [Icons] section, so you must include them in the code within the CreateShortcuts and DeleteShortcuts functions.
The [UninstallDelete] section is also not supported on CIU as the default uninstallation of Inno Setup is never performed.
You can include the functions of deleting folders or files within the Uninstall function of code.

NOTES:
You have removed almost all languages, this can cause errors.
I would not recommend these changes all in the script the way you did.
You could simply have limited the languages ​​you want to make available in Setup.ini or disabled the lines in the [Files] section and changed only in GetLanguage and also the part in CheckAvaiLanguages ​​where you changed to:
if (TmpStr2 in ['HR', 'ENUK', 'EN']) then
Reply With Quote
The Following 2 Users Say Thank You to Cesar82 For This Useful Post:
devil777 (12-01-2020), Grumpy (08-01-2020)
  #3  
Old 25-12-2019, 13:02
Simorq's Avatar
Simorq Simorq is offline
Registered User
 
Join Date: Mar 2014
Location: Iran
Posts: 642
Thanks: 3,602
Thanked 1,308 Times in 464 Posts
Simorq is on a distinguished road
ّFix DefaultInstallDir

DefaultInstallDir=D:\Games


Code:
WizardForm.DirEdit.Text := RemoveBackslashUnlessRoot(ExpandConstant(Trim(GetValStrEx('InstallOptions', 'DefaultInstallDir', '')))) + GetAppName('')

Code:
WizardForm.DirEdit.Text := RemoveBackslashUnlessRoot(ExpandConstant(Trim(GetValStrEx('InstallOptions', 'DefaultInstallDir', '')))) + '\' + GetAppName('')
Reply With Quote
The Following User Says Thank You to Simorq For This Useful Post:
Cesar82 (25-12-2019)
  #4  
Old 25-12-2019, 20:22
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
Thank you Simorq.

I don't know where I was with my head....
It was supposed to look like this.
Code:
WizardForm.DirEdit.Text := RemoveBackslashUnlessRoot(ExpandConstant(Trim(GetValStrEx('InstallOptions', 'DefaultInstallDir', '')))) + GetAppName('')

WizardForm.DirEdit.Text := AddBackslash(ExpandConstant(Trim(GetValStrEx('InstallOptions', 'DefaultInstallDir', '')))) + GetAppName('')
Reply With Quote
The Following 2 Users Say Thank You to Cesar82 For This Useful Post:
mausschieber (26-12-2019), Simorq (26-12-2019)
  #5  
Old 26-12-2019, 22:28
andreiutzu21 andreiutzu21 is offline
Registered User
 
Join Date: Jul 2013
Location: Romania
Posts: 79
Thanks: 229
Thanked 25 Times in 19 Posts
andreiutzu21 is on a distinguished road
Exclamation This is a bug ?

Cesar82 please you can check these bugs? with CIU3 u6 no problem at all

i made a screenshot to see

these error's is with last update CIU3 u7

look at taskbar it shows percent and Test Run and that error

https://pasteboard.co/IN9low4.png

Last edited by andreiutzu21; 26-12-2019 at 23:24.
Reply With Quote
  #6  
Old 27-12-2019, 00:24
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by andreiutzu21 View Post
Cesar82 please you can check these bugs? with CIU3 u6 no problem at all

i made a screenshot to see

these error's is with last update CIU3 u7

look at taskbar it shows percent and Test Run and that error

https://pasteboard.co/IN9low4.png
I do not know what exactly it can be.
Maybe it is because some CIU compressors have been updated.
The ISDone library has been updated as well. But the mistake is CRC and I don't think so.
Try copying the ISDone.dll from the "Resources\Decompressors\ISDone" folder of CIU 3.0.0.0.u6 to CIU 3.0.0.0.u7.
Let me know if this procedure works.
Maybe KaktoR or Simorq can answer better on this subject.
Reply With Quote
  #7  
Old 27-12-2019, 01:35
andreiutzu21 andreiutzu21 is offline
Registered User
 
Join Date: Jul 2013
Location: Romania
Posts: 79
Thanks: 229
Thanked 25 Times in 19 Posts
andreiutzu21 is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
I do not know what exactly it can be.
Maybe it is because some CIU compressors have been updated.
The ISDone library has been updated as well. But the mistake is CRC and I don't think so.
Try copying the ISDone.dll from the "Resources\Decompressors\ISDone" folder of CIU 3.0.0.0.u6 to CIU 3.0.0.0.u7.
Let me know if this procedure works.
Maybe KaktoR or Simorq can answer better on this subject.
i will test this and the second problem if you look at taksbar on installer it shows percent and Test Run instead of " Game Name Installing"
Reply With Quote
  #8  
Old 27-12-2019, 01:48
Simorq's Avatar
Simorq Simorq is offline
Registered User
 
Join Date: Mar 2014
Location: Iran
Posts: 642
Thanks: 3,602
Thanked 1,308 Times in 464 Posts
Simorq is on a distinguished road
@andreiutzu21
Code:
Resources\Decompressors\FreeArc\CLS.ini
Code:
[Srep]
Bufsize=24m
transfer_ReadBufSize=512k
transfer_WriteBufSize=512k
Memory=50%-512m → Memory=512m
TempPath={app}
And use 86-bit versions of ZTool, XTool, pZLib.
Reply With Quote
The Following 2 Users Say Thank You to Simorq For This Useful Post:
andreiutzu21 (27-12-2019), Cesar82 (27-12-2019)
  #9  
Old 11-01-2020, 14:36
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
CIU 3.0.0.1.b3 (Coming soon)

Hello people...

For the past few days I've been working on CIU 3.0.0.1.b3 (Beta 3).
The script has been changed a lot, possibly many bugs will appear.

The changes were necessary to try to slightly improve the startup time (very little improvement).
The entire button creation and access structure has also been changed to correct the failure and slowness by clicking the same button multiple times.
These changes made it possible to include additional buttons.
Now if you put a few buttons in the installer, you will get better performance. Required buttons are only UniInstallbutton, NextButton, BackButton and SmallBrowse (If you use Smallinstaller, you also need SmallCancel or CloseSI).
Make a comparison between version 3.0.0.0.u7 and 3.0.0.1.b3.
Button click response time is much faster in this version 3.0.0.1.b3.

In a few days I'll be sharing CIU 3.0.0.1 beta 3 in the CIU Dev group.

Last edited by Cesar82; 23-02-2020 at 22:55.
Reply With Quote
The Following 7 Users Say Thank You to Cesar82 For This Useful Post:
andreiutzu21 (11-01-2020), mausschieber (12-01-2020), omdj (12-01-2020), pakrat2k2 (12-01-2020), Proxson (11-01-2020), sajmon83 (12-01-2020), Simorq (12-01-2020)
  #10  
Old 16-01-2020, 17:08
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
DiskSpan.bat (NEW)

New DiskSpan.bat file with some fixes.

When the component name has special characters like: (^ & () <> |
Use the "^" character before the special character as an example "Kane ^& Lynch Dead Men".

Enjoy!
Attached Files
File Type: rar _DiskSpan [2020.01.16].rar (245.9 KB, 72 views)

Last edited by Cesar82; 16-01-2020 at 18:17.
Reply With Quote
The Following 10 Users Say Thank You to Cesar82 For This Useful Post:
ADMIRAL (29-03-2020), Behnam2018 (17-02-2020), BLACKFIRE69 (24-02-2020), Fabioddq (23-01-2020), Gehrman (19-01-2020), GTX590 (24-02-2020), mausschieber (17-01-2020), omdj (18-01-2020), pakrat2k2 (18-01-2020), Simorq (17-01-2020)
  #11  
Old 21-01-2020, 16:44
Proxson's Avatar
Proxson Proxson is offline
Registered User
 
Join Date: Nov 2017
Location: Croatia
Posts: 45
Thanks: 34
Thanked 26 Times in 19 Posts
Proxson is on a distinguished road
Guys, do you have this on your mind ? Windows 10 and black fonts on a black background ?

Edit: Found the culprit. It's Setup.vsf and disabling it, makes the window clear. But it's ugly then. Maybe some other theme/skin
will do the busines.

Edit 2: Ok, I fixed it by replacing Setup.vsf with Concave.cjstyles (now Setup.cjstyles).
Attached Images
File Type: jpg Capture_005.jpg (8.1 KB, 390 views)
File Type: jpg Capture_007.jpg (13.7 KB, 380 views)

Last edited by Proxson; 22-01-2020 at 08:20.
Reply With Quote
The Following User Says Thank You to Proxson For This Useful Post:
Behnam2018 (30-01-2020)
  #12  
Old 04-02-2020, 09:52
Gupta Gupta is offline
Banned
 
Join Date: Aug 2016
Location: https://t.me/pump_upp
Posts: 399
Thanks: 139
Thanked 715 Times in 231 Posts
Gupta is on a distinguished road
Send a message via ICQ to Gupta Send a message via AIM to Gupta Send a message via Yahoo to Gupta
Can anyone explain to me the LangBox.
Seems like left and top doesn't matter and it automatically aligns itself based on the alignment, also what's with this BoxLayout. What decides the flags by line thing
Reply With Quote
  #13  
Old 16-02-2020, 09:50
Gupta Gupta is offline
Banned
 
Join Date: Aug 2016
Location: https://t.me/pump_upp
Posts: 399
Thanks: 139
Thanked 715 Times in 231 Posts
Gupta is on a distinguished road
Send a message via ICQ to Gupta Send a message via AIM to Gupta Send a message via Yahoo to Gupta
What's the difference between normal button and a small button
Reply With Quote
The Following User Says Thank You to Gupta For This Useful Post:
Behnam2018 (17-02-2020)
  #14  
Old 16-02-2020, 19:44
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Gupta View Post
Can anyone explain to me the LangBox.
Seems like left and top doesn't matter and it automatically aligns itself based on the alignment, also what's with this BoxLayout. What decides the flags by line thing
I didn't understand your question!
What are the keys in the [LangBox] section?
the keys FlagByLine, FlagBoxAlignment, FlagBoxWidth works only with box mode (Position=BOX).
FlagBoxAlignment >> Align the flags to the side informed when each row has different numbers of flags.

Quote:
Originally Posted by Gupta View Post
What's the difference between normal button and a small button
SmallButton refers to the group of small buttons and Button refers to the group of larger buttons.
The images for SmallButton and Button are used only if no specific image is used for each button such as Next, Back, SmallBrowse, etc.
SmallButton is just a smaller or different design for Smallbuttons and is used in SmallBrowse, SmallCancel and SmallMusic (These last 2 are shown in the smallinstaller).
The normal button is used on the Next, Back, Cancel and Music buttons.
The setup.ini [SmallButton] section refers to the group of small buttons (SmallCancel, SmallMusic and SmallBrowse). for normal buttons the corresponding section is [StandardButton]

Last edited by Cesar82; 23-02-2020 at 22:57.
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
Simorq (24-02-2020)
  #15  
Old 23-02-2020, 22:51
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
CIU 3.0.0.0.b4 (Beta 4)

I am sharing CIU v3.0.0.1.b4 here so that more users can test and report the bugs found.
In this version there is a slight performance gain when the conversion is simpler.

There are still some things to add and some problems with media reproduction are still to be solved.
After that I will be able to share a final version 3.0.0.1 leaving behind version 3.0.0.0.u#.

Thanks to KaktoR for the opportunity to allow me to develop CIU.
Several features have been included during this past year, but whenever possible I try to maintain compatibility with the previous features that Yener90 created, trying to maintain the roots of CIU...
Thank you all, and be sure to report errors that are found.

Updated Inno Setup [Repack]
Lite: Original Inno Setup + RESTOOL Interface (Selectable)
Full: Original Inno Setup + RESTOOL Interface + Various Additional Software + .cjstyles skins package (Optional Download). (All Items Selectables)
Interested, download it HERE.
Attached Files
File Type: 7z CIU 3.0.0.1.b4 (2020.02.24).7z (43.49 MB, 177 views)

Last edited by Cesar82; 13-03-2020 at 16:30.
Reply With Quote
The Following 12 Users Say Thank You to Cesar82 For This Useful Post:
ADMIRAL (29-03-2020), andreiutzu21 (01-03-2020), Behnam2018 (26-02-2020), Gehrman (01-03-2020), Grumpy (24-02-2020), GTX590 (25-02-2020), houcine80 (01-03-2020), mausschieber (24-02-2020), omdj (24-02-2020), pakrat2k2 (26-02-2020), sajmon83 (25-02-2020), Simorq (24-02-2020)
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
INDEX - Conversion Tutorial Index Razor12911 Conversion Tutorials 5 11-06-2020 02:05
[GSERIES] Custom Installer Ultimate V2g Gupta Conversion Tutorials 226 01-06-2018 13:12
Crysis 3 DVD9 to 3xDVD5 Custom Installer spawniectes PC Games - CD/DVD Conversions 79 31-08-2017 07:19



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


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