FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Windows Phone Installer (bug free) (https://fileforums.com/showthread.php?t=102774)

bunti_o4u 11-06-2019 09:01

2 Attachment(s)
Quote:

Originally Posted by devil777 (Post 481323)
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...

devil777 12-06-2019 08:22

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..

bunti_o4u 12-06-2019 09:24

Quote:

Originally Posted by devil777 (Post 481345)
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...

devil777 15-06-2019 08:17

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

bunti_o4u 17-06-2019 02:07

Quote:

Originally Posted by devil777 (Post 481373)
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..

Fsi - RePack 23-06-2019 03:56

Doesn't Component page not Prewiev

bunti_o4u 24-06-2019 09:25

Quote:

Originally Posted by Fsi - RePack (Post 481461)
Doesn't Component page not Prewiev

You have to enable it first from the [Installer] section. Set the value of Component as 1.

devil777 25-06-2019 05:07

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

bunti_o4u 25-06-2019 09:29

Quote:

Originally Posted by devil777 (Post 481492)
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...

devil777 25-06-2019 23:04

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

bunti_o4u 26-06-2019 02:15

Quote:

Originally Posted by devil777 (Post 481503)
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...

devil777 26-06-2019 10:40

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.

devil777 27-06-2019 05:07

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

bunti_o4u 27-06-2019 10:02

1 Attachment(s)
Quote:

Originally Posted by devil777 (Post 481523)
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


devil777 02-07-2019 01:32

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?


All times are GMT -7. The time now is 15:36.

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