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 11-03-2019, 23:08
yasitha's Avatar
yasitha yasitha is offline
Registered User
 
Join Date: Apr 2013
Location: Krypton
Posts: 297
Thanks: 204
Thanked 48 Times in 33 Posts
yasitha is on a distinguished road
Hi KaktoR,
Please update the first page with latest Release!
__________________
Keep Up The Good Works!
Reply With Quote
Sponsored Links
  #2  
Old 14-03-2019, 15:17
bubobih's Avatar
bubobih bubobih is offline
Registered User
 
Join Date: Jul 2017
Location: Space
Posts: 16
Thanks: 1
Thanked 2 Times in 2 Posts
bubobih is on a distinguished road
Hello there is 4 bugs that im notice,

1st is uninstall icon in control panel doesent show, at least in windows 10
i solve that adding in
[Setup]
UninstallDisplayIcon={uninstallexe}

Second bug is [CRCCheck] when u disable it at the end u get this error


3rd bug is when u increase font size in windows 10 (idk about other) install window get messed.

4th bug is showing installation size in add remove and in other 3rd party uninstallers, it says 1.5mb. I solve that adding this line in
[Setup]
UninstallDisplaySize=


Set in bytes. (1048576 bytes = 1 megabyte)

u need pretty big number, and u need to change it manualy every time. Maybe someone have some automatised line for this.

Additional tips to show in add/remove programs

AppPublisher=Name
AppPublisherURL=https://example.com/

Last edited by bubobih; 14-03-2019 at 15:23.
Reply With Quote
The Following User Says Thank You to bubobih For This Useful Post:
KaktoR (15-03-2019)
  #3  
Old 15-03-2019, 10:03
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
Could you add a screenshot of bug #4 please?
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
Titeuf (15-03-2019)
  #4  
Old 15-03-2019, 11:23
yasitha's Avatar
yasitha yasitha is offline
Registered User
 
Join Date: Apr 2013
Location: Krypton
Posts: 297
Thanks: 204
Thanked 48 Times in 33 Posts
yasitha is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
Could you add a screenshot of bug #4 please?
I have fix that in long time a go. It's actually not a bug.
When we create setup.exe file. It's only count itself not the game.

He's talking about Uninstall panel on the windows..
It only shows 1.5mn or 30mb of setup.exe So we have to add Uninstall display size.. To show the game size..
__________________
Keep Up The Good Works!
Reply With Quote
  #5  
Old 15-03-2019, 11:57
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
Code:
UninstallDisplaySize={#SizeMB}
should work
__________________
Haters gonna hate
Reply With Quote
  #6  
Old 15-03-2019, 19:33
yasitha's Avatar
yasitha yasitha is offline
Registered User
 
Join Date: Apr 2013
Location: Krypton
Posts: 297
Thanks: 204
Thanked 48 Times in 33 Posts
yasitha is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
Code:
UninstallDisplaySize={#SizeMB}
should work
It's not,
Cause UDS need Game Size in bytes, not in MB or GB
10737441824 (1MB)

To get right size on UDS you have to put size on like this.

1024 x 1024 = 1,048,576 (1MB)
1,048,576 x 1024 = 1,073,741,824 (1GB)
__________________
Keep Up The Good Works!
Reply With Quote
  #7  
Old 15-03-2019, 21:21
K4miKaZe's Avatar
K4miKaZe K4miKaZe is offline
Registered User
 
Join Date: Sep 2018
Location: Spain
Posts: 146
Thanks: 177
Thanked 235 Times in 84 Posts
K4miKaZe is on a distinguished road
Quote:
Originally Posted by yasitha View Post
It's not,
Cause UDS need Game Size in bytes, not in MB or GB
10737441824 (1MB)

To get right size on UDS you have to put size on like this.

1024 x 1024 = 1,048,576 (1MB)
1,048,576 x 1024 = 1,073,741,824 (1GB)
I think what KaktoR means to say is to put exactly what he wrote on the script:

UninstallDisplaySize={#SizeMB}

and not

UninstallDisplaySize=Any number in MB

SizeMB is probably linked to the settings/setup ini, same value you put in for the game size on it. Not sure as im not home, but thats what i understand at least and if SizeMB is the same used for the game size, it should also work for this.
Reply With Quote
  #8  
Old 15-03-2019, 21:35
yasitha's Avatar
yasitha yasitha is offline
Registered User
 
Join Date: Apr 2013
Location: Krypton
Posts: 297
Thanks: 204
Thanked 48 Times in 33 Posts
yasitha is on a distinguished road
Quote:
Originally Posted by K4miKaZe View Post
I think what KaktoR means to say is to put exactly what he wrote on the script:

UninstallDisplaySize={#SizeMB}

and not

UninstallDisplaySize=Any number in MB

SizeMB is probably linked to the settings/setup ini, same value you put in for the game size on it. Not sure as im not home, but thats what i understand at least and if SizeMB is the same used for the game size, it should also work for this.
No you can't do that,
cause setting.ini requires size as megabytes,
but UDS requires size as bytes.
The only way to fix this to add another one like {#UDSize} to Script and settings.ini and we have to put game size as megabytes and UDS size as bytes
It will solved the problem.
Attached Images
File Type: jpg IMG_20190316_110840.jpg (261.7 KB, 122 views)
__________________
Keep Up The Good Works!

Last edited by yasitha; 15-03-2019 at 21:42.
Reply With Quote
  #9  
Old 15-03-2019, 23:09
K4miKaZe's Avatar
K4miKaZe K4miKaZe is offline
Registered User
 
Join Date: Sep 2018
Location: Spain
Posts: 146
Thanks: 177
Thanked 235 Times in 84 Posts
K4miKaZe is on a distinguished road
Well, if its in bytes then this will not work but you can set it up adding zeros to the end, its not 100% accurate but it should work almost fine.

UninstallDisplaySize={#SizeMB}000000

Maybe instead of 1024 values we can change the mb value to 1000 so it would work for for install and uninstall. As said, im not at home so i cant take a better look into it.
Reply With Quote
  #10  
Old 15-03-2019, 23:28
yasitha's Avatar
yasitha yasitha is offline
Registered User
 
Join Date: Apr 2013
Location: Krypton
Posts: 297
Thanks: 204
Thanked 48 Times in 33 Posts
yasitha is on a distinguished road
Quote:
Originally Posted by K4miKaZe View Post
Well, if its in bytes then this will not work but you can set it up adding zeros to the end, its not 100% accurate but it should work almost fine.

UninstallDisplaySize={#SizeMB}000000

Maybe instead of 1024 values we can change the mb value to 1000 so it would work for for install and uninstall. As said, im not at home so i cant take a better look into it.
adding the another one like this will works perfectly.
I already done it.

Settings.ini

Size=46080
UDSize=42563458747

in Script
UninstallDisplaySize={#UninstallSize}

When, we Pack the Game, we just need to copy paste the games size to UDSize is that simple.
__________________
Keep Up The Good Works!
Reply With Quote
  #11  
Old 16-03-2019, 01:15
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
Ok I will write a simple function for calculation ({#SizeMB} * 1024 = UninstallDisplaySize).

This should work then because {#SizeMB} * 1024 = bytes
__________________
Haters gonna hate
Reply With Quote
The Following 2 Users Say Thank You to KaktoR For This Useful Post:
K4miKaZe (16-03-2019), Titeuf (16-03-2019)
  #12  
Old 16-03-2019, 02:25
K4miKaZe's Avatar
K4miKaZe K4miKaZe is offline
Registered User
 
Join Date: Sep 2018
Location: Spain
Posts: 146
Thanks: 177
Thanked 235 Times in 84 Posts
K4miKaZe is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
Ok I will write a simple function for calculation ({#SizeMB} * 1024 = UninstallDisplaySize).

This should work then because {#SizeMB} * 1024 = bytes
Yeah, that would be the best option. Just keeping things simple as always.

Thanks KaktoR !!!
Reply With Quote
  #13  
Old 16-03-2019, 14:33
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
Here is a changelog for next version.

Code:
v7.1.2 beta8
_____________________________________________________
- Added Redist installation to CompactMode
- Added ISHash library to CompactMode (now really!)
- Updated ISHash library (thanks to peterf1999)
- Reworked Components (thanks to Cesar82)
  > Information will follow later
- Updated 7z to v19.0.0.0
- Changed 'Size=' key in Settings.ini
  > It is now possible to write size as follow:
    b,B,k,K,kb,KB,Kb,m,M,mb,MB,Mb,g,G,gb,GB,Gb,t,T,tb,TB,Tb,p,P,pb,PB,Pb
    Example: 12345 Gb, 987.6 m
- Fixed slideshow
  > Before it always show the first picture twice.
- Fixed not correct size in Windows Control Panel
- Fixed some other bugs
__________________
Haters gonna hate

Last edited by KaktoR; 17-03-2019 at 05:30.
Reply With Quote
The Following 4 Users Say Thank You to KaktoR For This Useful Post:
K4miKaZe (16-03-2019), mausschieber (16-03-2019), pakrat2k2 (16-03-2019), Titeuf (17-03-2019)
  #14  
Old 17-03-2019, 05:17
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
Code:
Components help:

.Name=
Use custom name. 
Example: 
Component1.Name=Soundtrack
Component2.Name=Wallpapers
...

Or use languages

Valid cm:xx values: 
EN, ENGLISH
FR, FRENCH
DE, GERMAN
IT, ITALIAN
ES, SPANISH
PL, POLISH
RU, RUSSIAN
BR, BRAZILIAN

Component1.Name=cm:ENGLISH
Component2.Name=cm:RU

Only most used languages were added. Maybe more in next version.


.File=
Set filename to be linked to the component. The archive will only extracted if component is selected before installation starts.


.Size=
Set size of component.
Example: Component1.Size=1500 mb

PS: You can use different units for sizes.
Example: Component1.Size=1500 mb, Component2.Size=666 kb


.Level=
Set the (main) component to left (0) or right (1) and make a dependence for all following components. This is helpful if you want to make different groups of components.
Example: 
Component2.Level=0
Component3.Level=1
Component4.Level=1
Component5.Level=1
Component2 is the topper component. 3+4+5 are dependend from Component2. If you disable Component2, 3+4+5 will be disabled too.


.Exclusive=
Make a Checkbox (0) or a RadioButton (1).

PS: RadioButton is usefull if a game can only have one language installed (some games use same files for different languages).


.Checked=
Set default state for CB/RB. 1 is checked, 0 is not checked


.Enabled=
Set enable (1) or disable (0).
Components.iss and CompactMode.iss are no longer neccessary (you can delete them).
Attached Files
File Type: 7z 7.1.2.beta8.7z (4.10 MB, 48 views)
File Type: 7z 7.1.2.beta8.FIX.7z (21.0 KB, 24 views)
__________________
Haters gonna hate

Last edited by KaktoR; 17-03-2019 at 10:26.
Reply With Quote
The Following 4 Users Say Thank You to KaktoR For This Useful Post:
K4miKaZe (17-03-2019), mausschieber (17-03-2019), pakrat2k2 (17-03-2019), Titeuf (17-03-2019)
  #15  
Old 17-03-2019, 08:57
Titeuf's Avatar
Titeuf Titeuf is offline
Registered User
 
Join Date: Oct 2016
Location: France
Posts: 191
Thanks: 614
Thanked 22 Times in 19 Posts
Titeuf is on a distinguished road
Hello,
thank you for this new version.
Under Windows 8.1Pro after choosing the language of the installation wizard, after splash display I have this message 2 times (look at my picture) before the wizard opens because of "if CurPageID = ComponentsPage.ID then "and yet I did this in settings.ini:" because when I run the installation from innoSetup, it displays this: look at my image.
Thank you for your help
Attached Images
File Type: jpg 1.jpg (14.3 KB, 108 views)
File Type: jpg 2.jpg (42.4 KB, 113 views)
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
[Help] need Advanced Installer script with Razor1911's UltraArc module rez3vil Conversion Tutorials 3 15-04-2024 02:24
Portable Installer Inno Setup Script y_thelastknight Conversion Tutorials 59 23-10-2020 00:02
INDEX - Conversion Tutorial Index Razor12911 Conversion Tutorials 5 11-06-2020 02:05
Simple Arc Installer 78372 Conversion Tutorials 1 15-06-2017 15:37
MSC+Srep+lzma Simple Script Example gozarck Conversion Tutorials 10 07-09-2015 16:31



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


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