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

Reply
 
Thread Tools Search this Thread Display Modes
  #346  
Old 27-12-2019, 00:26
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,045
Thanks: 1,763
Thanked 2,245 Times in 767 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Proxson View Post
I have a bug report (actually it's not a bug but something that should be implemented in the next version) but I'll wait till the end of holidays.

Merry Christmas and a Happy New Year folks!
At any time you can report the bug.
I will check as soon as possible and try to solve.
Thanks!
Reply With Quote
Sponsored Links
  #347  
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
  #348  
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,305 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)
  #349  
Old 27-12-2019, 09:42
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,485
Thanks: 1,083
Thanked 7,101 Times in 2,694 Posts
KaktoR is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
- Fixed copy of icon file to destination folder.
- Fixed to work custom mode correctly.
- Fixed aditional Records.ini path if the "Setup_Files" folder name is changed now will make the copy correctly.
- Changed compression examples in custom mode.
- Disabled the option to display component sum because when component size values do not have same unit (MB, GB) the calculation is done wrong.
- Fixed correct time in log file.

-----------------------------------------------------------------------
NEW DISKSPAN.bat TO TEST
The new version is for testing (Extract also the Resource folder contain files).
There may be some bugs yet.

NEWS:
- Added an external calculator for calculating folder sizes in bytes because it is not possible to calculate large numbers (Gb) in native bat functions.
- Added automatic calculation for first disk size, just disabling the first disk size line with "::" or entering one of the values: "0" or "AUTO".
- Added option to automatically move files from Redists or extras you wish to include on disk 1.
To do so just put the files or folders in the "Setup_Files" directory. Everything will be moved except text files in the root directory "Setup_Files".
- Fixed correct time in log file.

NOTES:
By my tests the calculation is working well. Making good use of Setup.exe's independent media size is 10 or 200 mb, with no need to change anything.
Thanks. OLD works fine now.

I will test component calculation in the next days.
__________________
Haters gonna hate
Reply With Quote
The Following 3 Users Say Thank You to KaktoR For This Useful Post:
andreiutzu21 (29-12-2019), Cesar82 (27-12-2019), sajmon83 (09-01-2020)
  #350  
Old 06-01-2020, 10:46
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
Ok guys,

so here is the problem when using external scripts like custom icons, shortcuts and the Registry script. When uninstalling the game,
it does not remove the Program folder in Start Menu and the Registry keys still remain despite the game is uninstalled. If you have time,
please implement this option. Here is the script. Please try it. Thanks.

Edit: I managed to delete the program folder in Start Menu -->

Code:
[UninstallDelete]
Type: filesandordirs; Name: "{userprograms}\{groupname}"
Edit 2: Nope, it doesn't work always. Weird behavior. @.@

/me embarrassed...

Well, the Registry entries "issue" is still there.
Attached Images
File Type: jpg Error.jpg (121.4 KB, 270 views)

Last edited by Proxson; 08-01-2020 at 08:33.
Reply With Quote
  #351  
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
  #352  
Old 07-01-2020, 19:04
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,045
Thanks: 1,763
Thanked 2,245 Times in 767 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)
  #353  
Old 07-01-2020, 19:24
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
Sorry, I removed all that stuff to make the CIU smaller. Regarding the 'About' page, it wasn't intentionally. I was so ocupied with this icons and registry issues.
The 'About' page will return back again. Sorry again. My intention was not to discredit anyone who worked on this project. Removing unnecessary languages didn't
affect the CIU integrity. It's working without any problems. Looks like you've faced me against the wall. So script with icons won't work in a regular way...hmm.
I'm dropping the subject.

Last edited by Proxson; 07-01-2020 at 21:50.
Reply With Quote
The Following User Says Thank You to Proxson For This Useful Post:
devil777 (12-01-2020)
  #354  
Old 08-01-2020, 04:34
Grumpy's Avatar
Grumpy Grumpy is offline
Moderator
 
Join Date: Jun 2004
Location: Australia
Posts: 5,695
Thanks: 1,256
Thanked 1,841 Times in 810 Posts
Grumpy is on a distinguished road
Quote:
keep the About page working and original by displaying the credits of the original CIU contributors and translators.
Yes, we are very adamant about this here at Fileforums, all Credits must be maintained and given at all times. A lot of people have put a lot of their own time into it and do not get paid for their work, the least people can do is give them a little credit. If you remove those credits then these people will lose faith and may stop their work, then everyone misses out on their great contributions.
Credit must always be given or kept in place.
__________________
Can't find a Game Conversion? Check the 'Conversion INDEX'
Reply With Quote
  #355  
Old 08-01-2020, 08:53
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
@Cesar,

here is the CIU by default. Nothing removed from the script. No icon and registry script. It still leaves the empty Publisher folder in the Start Menu ! I have
noticed a strange thing, as long as you don't open the Publisher folder, in this case SEGA, the uninstaller will delete it, otherwise it won't. The script has already
all constants in the uninstall part such as {commonprograms} and {userprograms}. So, in other words, I can't do jack sh*t. Heck, someone would say, stop whining.
Delete it manually. But that's not the point,

Attached Files
File Type: 7z AvP_2010.7z (75.08 MB, 28 views)
Reply With Quote
  #356  
Old 08-01-2020, 11:16
mausschieber's Avatar
mausschieber mausschieber is offline
Conversion Designer
 
Join Date: Jan 2011
Location: germany
Posts: 3,915
Thanks: 6,174
Thanked 10,814 Times in 2,885 Posts
mausschieber is on a distinguished road
here it works also

i used win 8.1 x64
__________________
It would be nice if you appreciate my work with the thanks Button
Reply With Quote
  #357  
Old 08-01-2020, 13:10
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
At least we're getting somewhere. First, the fix isn't working. The good news is that everything is ok in Windows 10 (opened in a virtual machine). So the conclusion is, Windows 7 is a bad guy here. But that doesn't mean I'm moving to Win 10. It's the ugliest OS since Windows Millenium Edition ! In other words... @Cesar, fix the darn thing !

Edit: Thanks for the shortcut tip. If this could be done in Setup.ini it would be even better.

Edit 2: Anyone else has the same problem with Windows 7 ?
Attached Images
File Type: jpg error0.jpg (165.7 KB, 224 views)

Last edited by Proxson; 08-01-2020 at 13:27.
Reply With Quote
The Following User Says Thank You to Proxson For This Useful Post:
Behnam2018 (30-01-2020)
  #358  
Old 08-01-2020, 14:54
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,045
Thanks: 1,763
Thanked 2,245 Times in 767 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Proxson View Post
Edit: Thanks for the shortcut tip. If this could be done in Setup.ini it would be even better.
It is a good idea for future versions. But I do not promise that this feature will be added.

Code:
I changed it in the script to include your additional icons.
find in script by "CUSTOM ICONS ADD HERE" (without quotes).
You can include other additional icons in this part if you need to.
Windows 7 has a delay deleting internal files in the folder, so it does not remove the directory as it is not empty yet.
I made some changes, and tested on a virtual machine with windows 7 professional. Apparently it is working.

Try with this new script.
Attached Files
File Type: rar Script_modifyed_2.rar (101.5 KB, 10 views)

Last edited by Cesar82; 08-01-2020 at 14:56.
Reply With Quote
  #359  
Old 08-01-2020, 15:54
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
It's working ! ...But on a clean Windows 7 (virtual machine)... So that means, the culprit is my copy of Windows. Something is interfering with the uninstalling process and that's beyond my knowledge so far. Damn. I made a fool of myself. Sorry Cesar. Thanks for your effort. If you or someone has an idea please post it here.
Reply With Quote
  #360  
Old 11-01-2020, 14:36
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,045
Thanks: 1,763
Thanked 2,245 Times in 767 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)
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
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 02:09.


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