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

Reply
 
Thread Tools Display Modes
  #16  
Old 11-06-2019, 09:01
bunti_o4u's Avatar
bunti_o4u bunti_o4u is offline
Registered User
 
Join Date: Aug 2017
Location: India
Posts: 162
Thanks: 29
Thanked 168 Times in 61 Posts
bunti_o4u is on a distinguished road
Quote:
Originally Posted by devil777 View Post
Bunti Dada I do get strange kind of error... With Lzma.
Compressed and extracted the files with lzma and there is no such issue. below needs to be done:

Add below in the Arc.ini file
Code:
[External compressor:lzma]
header = 0
unpackcmd = lzma d lzma{:option} <stdin> <stdout>
Add below in innoscript

Code:
[Resources]
lzma=1

[Files]
#ifdef lzma
Source: Resources\UnpackTools\lzma\lzma.exe; DestDir: {tmp}; Flags: dontcopy;
#endif

function InitializeSetup:Boolean;
begin
  #ifdef lzma
  ExtractTemporaryFile('lzma.exe');
  #endif

I have checked it (long name issue) and it's working fine...
Attached Images
File Type: jpg Untitled.jpg (126.7 KB, 458 views)
Attached Files
File Type: zip lzma.zip (92.0 KB, 71 views)

Last edited by Joe Forster/STA; 12-06-2019 at 10:40. Reason: enclosed quotes into "code"
Reply With Quote
The Following 3 Users Say Thank You to bunti_o4u For This Useful Post:
ADMIRAL (26-05-2020), devil777 (11-06-2019), Newbie-repacker (06-05-2021)
Sponsored Links
  #17  
Old 12-06-2019, 08:22
devil777's Avatar
devil777 devil777 is offline
Registered User
 
Join Date: May 2019
Location: Let.it.be
Posts: 106
Thanks: 280
Thanked 65 Times in 48 Posts
devil777 is on a distinguished road
Red face Thanks dada just one last question

Dada I hadn't put Lzma configuration.. on initializesetup:Boolean... I'm a newbie... Thanks dada Bunti....
One last question would it be "RRGGBB" .....-in the line of "BBGGRR"... hope you understand my question.. I had found BBGGRR in you script so I want to know wouldn't it be "RRGGBB".. not trying to spam posts..
Reply With Quote
  #18  
Old 12-06-2019, 09:24
bunti_o4u's Avatar
bunti_o4u bunti_o4u is offline
Registered User
 
Join Date: Aug 2017
Location: India
Posts: 162
Thanks: 29
Thanked 168 Times in 61 Posts
bunti_o4u is on a distinguished road
Quote:
Originally Posted by devil777 View Post
Dada I hadn't put Lzma configuration.. on initializesetup:Boolean... I'm a newbie... Thanks dada Bunti....
One last question would it be "RRGGBB" .....-in the line of "BBGGRR"... hope you understand my question.. I had found BBGGRR in you script so I want to know wouldn't it be "RRGGBB".. not trying to spam posts..
Generally colors are quoted as RRGGBB but in this script, colors are coded in the manner "BBGGRR" that is why I have written like this

So lets suppose you want "Red color" for your script and the corresponding hex code is FF0000. if you write the hex color code "FF0000" in the script, the script will translate it as "0000FF which is Blue color".

I hope I made it clear...
Reply With Quote
The Following User Says Thank You to bunti_o4u For This Useful Post:
devil777 (15-06-2019)
  #19  
Old 15-06-2019, 08:17
devil777's Avatar
devil777 devil777 is offline
Registered User
 
Join Date: May 2019
Location: Let.it.be
Posts: 106
Thanks: 280
Thanked 65 Times in 48 Posts
devil777 is on a distinguished road
Talking Thanks and in case of password

Bunti Dada sorry for my late reply... Thanks you've made it clear about BBGGRR matter.. but I want to know if add password more thank numbers(like 1235..) should I use "the password" or ' the password'... as an example I've use pack.4444 as password and I've used "pack.4444" to identify "pack". Should I use any(more or other) caption to use both number and word as password in the script..

Want to learn cause I'm a newbie dada (other matters been cleared) but will ask if there is something unclear

Last edited by devil777; 15-06-2019 at 08:18. Reason: Miss placing word
Reply With Quote
  #20  
Old 17-06-2019, 02:07
bunti_o4u's Avatar
bunti_o4u bunti_o4u is offline
Registered User
 
Join Date: Aug 2017
Location: India
Posts: 162
Thanks: 29
Thanked 168 Times in 61 Posts
bunti_o4u is on a distinguished road
Quote:
Originally Posted by devil777 View Post
I want to know if add password more thank numbers(like 1235..) should I use "the password" or ' the password'..
You can give any password but it should not consist of space and it is common password across all the archives..

You can modify the script and can use the different password for each archive..
Reply With Quote
The Following User Says Thank You to bunti_o4u For This Useful Post:
devil777 (25-06-2019)
  #21  
Old 23-06-2019, 03:56
Fsi - RePack Fsi - RePack is offline
Registered User
 
Join Date: May 2019
Location: Türkiye
Posts: 4
Thanks: 4
Thanked 1 Time in 1 Post
Fsi - RePack is on a distinguished road
Doesn't Component page not Prewiev
Reply With Quote
The Following User Says Thank You to Fsi - RePack For This Useful Post:
devil777 (25-06-2019)
  #22  
Old 24-06-2019, 09:25
bunti_o4u's Avatar
bunti_o4u bunti_o4u is offline
Registered User
 
Join Date: Aug 2017
Location: India
Posts: 162
Thanks: 29
Thanked 168 Times in 61 Posts
bunti_o4u is on a distinguished road
Quote:
Originally Posted by Fsi - RePack View Post
Doesn't Component page not Prewiev
You have to enable it first from the [Installer] section. Set the value of Component as 1.
Reply With Quote
The Following User Says Thank You to bunti_o4u For This Useful Post:
devil777 (25-06-2019)
  #23  
Old 25-06-2019, 05:07
devil777's Avatar
devil777 devil777 is offline
Registered User
 
Join Date: May 2019
Location: Let.it.be
Posts: 106
Thanks: 280
Thanked 65 Times in 48 Posts
devil777 is on a distinguished road
Talking In case of uninstall

Bunti_04u Dada files do uninstall correctly but everything in uninstall folder do remains hidden except uninstall.exe and uninstall.dat.... but boss the repack that repackers make do have everything in the uninstall folder unhidden or visible..

Even their uninstall program in control panel do have setup.exe's icon.. Hope you understood the matter I am telling you. Also when I go to uninstall the game or program that have been installed by the setup.exe ( setup.exe has been made by Inno script) don't contain icon and it merely 67.0KB (though the game size is 34GB)..
Please help out
Reply With Quote
  #24  
Old 25-06-2019, 09:29
bunti_o4u's Avatar
bunti_o4u bunti_o4u is offline
Registered User
 
Join Date: Aug 2017
Location: India
Posts: 162
Thanks: 29
Thanked 168 Times in 61 Posts
bunti_o4u is on a distinguished road
Quote:
Originally Posted by devil777 View Post
files do uninstall correctly but everything in uninstall folder do remains ...
find the below code:

if (CurStep = ssPostInstall) and not ISDoneError then
begin

and paste the below code after begin:

Code:
  RegWriteDWordValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{#AppName}_is1', 'EstimatedSize', CalcSize*1024)
  RegWriteStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{#AppName}_is1', 'DisplayIcon',  ExpandConstant('{app}\{#E1[60]}\{#E1[61]}'))
It will show the uninstall icon as well as size...

Last edited by bunti_o4u; 26-06-2019 at 12:32.
Reply With Quote
The Following User Says Thank You to bunti_o4u For This Useful Post:
devil777 (25-06-2019)
  #25  
Old 25-06-2019, 23:04
devil777's Avatar
devil777 devil777 is offline
Registered User
 
Join Date: May 2019
Location: Let.it.be
Posts: 106
Thanks: 280
Thanked 65 Times in 48 Posts
devil777 is on a distinguished road
Unhappy Can you please

Bunti Dada please I'm getting error
And can you help me with the size it's not specifying correctly . Please Bunti Dada can you write the codes in a text and attach it in a post. I'm not telling you to update the .iss file

A newbie and don't know coding
Reply With Quote
  #26  
Old 26-06-2019, 02:15
bunti_o4u's Avatar
bunti_o4u bunti_o4u is offline
Registered User
 
Join Date: Aug 2017
Location: India
Posts: 162
Thanks: 29
Thanked 168 Times in 61 Posts
bunti_o4u is on a distinguished road
Quote:
Originally Posted by devil777 View Post
I'm getting error
And can you help me with the size it's not specifying correctly.
The code I have mentioned in previous post is working fine. It must be with script... Either you have modified the script that causing the error or you are not pasting the code at right place...

Post your script...
Reply With Quote
  #27  
Old 26-06-2019, 10:40
devil777's Avatar
devil777 devil777 is offline
Registered User
 
Join Date: May 2019
Location: Let.it.be
Posts: 106
Thanks: 280
Thanked 65 Times in 48 Posts
devil777 is on a distinguished road
Post Working but with.. size

Dada sorry I was busy.. my exam was going on
Shouldn't I write " RegWriteDWordValue.............. EstimatedSize', CalcSize*1024) " in a single line..

Also in case of icon " RegWriteStringValue(........... ExpandConstant('{app}\{#E1[60]}\{#E1[61]}')) "

Should I write those codes... I mean I write this calculate size code after ISDoneError the begin in one line after that calculate code.... I wrote display icon code in one line from RedWriteStringValue..... to ....
ExpandConstant('{app}\{#E1[60]}\{#E1[61]}')) in one line is that okay..

Edited:

I sincerely apologize... I had left space after uninstall.. like unista ll... that's why code wasn't working also please reply about writing the codes in one line.. it's above " Edited: "
I had written size 129 in [installer]... Also in uncompressed size of archive 129 (in MB) .. files installed correctly but size wasn't showing in control panel.

Last edited by devil777; 26-06-2019 at 10:42. Reason: Misplaced word
Reply With Quote
  #28  
Old 27-06-2019, 05:07
devil777's Avatar
devil777 devil777 is offline
Registered User
 
Join Date: May 2019
Location: Let.it.be
Posts: 106
Thanks: 280
Thanked 65 Times in 48 Posts
devil777 is on a distinguished road
Thumbs up Here it is dada

Bunti Dada here is my script (with resources)....

###it has been properly edited. Here it is.

https://fileforums.com/showpost.php?...5&postcount=10

Last edited by devil777; 29-09-2019 at 04:08.
Reply With Quote
  #29  
Old 27-06-2019, 10:02
bunti_o4u's Avatar
bunti_o4u bunti_o4u is offline
Registered User
 
Join Date: Aug 2017
Location: India
Posts: 162
Thanks: 29
Thanked 168 Times in 61 Posts
bunti_o4u is on a distinguished road
Quote:
Originally Posted by devil777 View Post
Bunti Dada here is my script (with resources)....
Set the Uncompressed Size for each archive marked in red as below:

Code:
;Archive1= Archive Type | Source | Output | Disk | Uncompressed Size in MB
;----------------- Maximum 8 Archive -----------------------------;
Archive1=Freearc|{src}\data1.cpi|{app}|1|525
Attached Files
File Type: rar WindowsPhone.rar (34.7 KB, 40 views)
Reply With Quote
The Following User Says Thank You to bunti_o4u For This Useful Post:
devil777 (05-03-2021)
  #30  
Old 02-07-2019, 01:32
devil777's Avatar
devil777 devil777 is offline
Registered User
 
Join Date: May 2019
Location: Let.it.be
Posts: 106
Thanks: 280
Thanked 65 Times in 48 Posts
devil777 is on a distinguished road
Smile About image

All the way thanks Bunti_04u Dada for your previous hhelps.. but Dada I have a question...
I see that in your edited WPI setup creator you use 800*480 jpg pictures...
But I wonder If I use 1920*1080p pictures during compile without changing any value in WPI.iss script will that be a problem or is that okay?
Reply With Quote
The Following User Says Thank You to devil777 For This Useful Post:
Behnam2018 (31-01-2020)
Reply

Thread Tools
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
Coming Soon: Metro Install Creator Razor12911 Conversion Tutorials 48 31-10-2021 02:59
Windows Phone Installer (FMX) Redists Help... ramazan19833 Conversion Tutorials 3 15-12-2017 04:08
Custom Installer (help test ) windows 8 Dante1995 Conversion Tutorials 4 07-07-2014 03:43
321 studios game x copy acehardy12 XBox Games 6 29-06-2005 13:55



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


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