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)

fabrieunko 15-10-2021 06:30

hoooo big thank you I have been looking for a week ... thank you thank you thank you.
its ok

fabrieunko 20-10-2021 20:57

Hello what option to set to decompress a data compress with

Xtool :c16m,t75p,dm2:zlib
srep :m3f:a2:l256
lolz

in the installer there are several xtools I have all tested and none worked

fabrieunko 28-10-2021 11:31

hello I am using this loader and I have a game which I am compacting but which needs an argument to be launched. how to do?

Dof.exe -dev86

Advanced Repack 02-11-2021 03:13

Metro Installer make using advanced setup creator

Goto page : https://fileforums.com/showthread.ph...700#post494700

fabrieunko 03-11-2021 22:36

how to use this script with diskspan and multiple language files?

fabrieunko 12-11-2021 06:36

Hello, I would like to change the layout of the boxes where there is an 'install' 'uninstall' and quit. to put them on the same line to launch the game below the icon images.

how to do?

FIFA_LOVER 13-11-2021 08:41

Quote:

Originally Posted by fabrieunko (Post 494866)
Hello, I would like to change the layout of the boxes where there is an 'install' 'uninstall' and quit. to put them on the same line to launch the game below the icon images.

how to do?

My friend you will need tooooooooooooooooooo much inno scripting knowledge unless someone helper experienced one takes ur request

bunti_o4u 13-11-2021 08:59

Quote:

Originally Posted by fabrieunko (Post 494866)
Hello, I would like to change the layout of the boxes where there is an 'install' 'uninstall' and quit. to put them on the same line to launch the game below the icon images.

how to do?

Find below codes... (line number 62** to 65**)
Code:

function InitializeSetup:Boolean;
.
.
.
.
.
    InstallTile:=TileCreate(AutorunForm,30,90,100,100,ExpandConstant('{tmp}\Install.png'),'Install',mrOk, False);

    TileSetEvent(InstallTile,@InstallTileClick);
    UninstallTile:=TileCreate(AutorunForm,InstallTile.Base.Left,InstallTile.Base.Top+InstallTile.Base.Height+5,InstallTile.Base.Width,InstallTile.Base.Height,ExpandConstant('{tmp}\Uninstall.png'),'Uninstall',mrNone, False);
    TileSetEvent(UninstallTile,@UninstallTileClick);
    ExitTile:=TileCreate(AutorunForm,InstallTile.Base.Left,UninstallTile.Base.Top+UninstallTile.Base.Height+5,InstallTile.Base.Width,InstallTile.Base.Height,ExpandConstant('{tmp}\Exit.png'),'Exit',mrCancel, False);
    TileSetEvent(ExitTile,@ExitTileClick);

    Launch1Tile:=TileCreate(AutorunForm,InstallTile.Base.Left+InstallTile.Base.Width+10,InstallTile.Base.Top,320,200,ExpandConstant('{tmp}\Tile1'),'',mrCancel, True);

  #ifdef AppExe1
    Launch2Tile:=TileCreate(AutorunForm,InstallTile.Base.Left+InstallTile.Base.Width+10,InstallTile.Base.Top+Launch1Tile.Base.Height+10,InstallTile.Base.Width,InstallTile.Base.Height,ExpandConstant('{tmp}\Tile2'),'Play '+'{#E1[59]}',mrCancel, True);
    TileSetEvent(Launch2Tile,@Launch2TileClick);
  #ifdef AppExe2
    Launch3Tile:=TileCreate(AutorunForm,Launch2Tile.Base.Left+Launch2Tile.Base.Width+10,InstallTile.Base.Top+Launch1Tile.Base.Height+10,InstallTile.Base.Width,InstallTile.Base.Height,ExpandConstant('{tmp}\Tile3'),'Play '+'{#E2[59]}',mrCancel, True);
    TileSetEvent(Launch3Tile,@Launch3TileClick);
  #ifdef AppExe3
    Launch4Tile:=TileCreate(AutorunForm,Launch3Tile.Base.Left+Launch3Tile.Base.Width+10,InstallTile.Base.Top+Launch1Tile.Base.Height+10,InstallTile.Base.Width,InstallTile.Base.Height,ExpandConstant('{tmp}\Tile4'),'Play '+'{#E3[59]}',mrCancel, True);
    TileSetEvent(Launch4Tile,@Launch4TileClick);
  #endif
  #endif
  #endif


fabrieunko 13-11-2021 09:52

Hello, I did identify these lines .. but I do not understand how to move them ?. I am a beginner..

fabrieunko 25-11-2021 06:05

how to do? please

fabrieunko 01-12-2021 21:39

Hello I did not find how to align the icons so I leave it like this. however can you tell me how to display the installer at the bottom of the screen? currently it is displayed in the middle of the screen and when there are slides it spoils a bit. Thank you for your help.

fabrieunko 20-01-2022 22:17

Quote:

Originally Posted by Cesar82 (Post 493167)
At the request of user @GaMEr_2077 I created an alternate version of "Windows Phone Installer (WPI)" with support for "DiskSpan GUI v2+".
The changes were initially based on the script shared by @PsYcHo_RaGE using part of the changes he added.
As I had already changed the script for only one user, I decided to share it here so that other interested users have access to the modified script. ;)

@bunti_o4u, if you feel that I shouldn't be sharing versions of the script you keep the thread on, let me know that I delete this post.
If you want to continue using this script for your main post, feel free.

CHANGES:
-Added full compatibility with "DiskSpan GUI v2+" limited to 1 game and maximum 12 tasks.
- Changed "Components" page to "Tasks" to meet compatibility with "DiskSpan GUI".
P.S: "DiskSpan GUI" works the components as multiple games (Collection) creating subfolders for each one of the games. As WPI doesn't support game collection the page has been changed to tasks that are just inclusion of additional items like "Extras", "Optional Languages", etc.
It was also necessary o remove the languages ​​group from the "Components" page (Now Tasks Page).
Up to 12 items can be used in the "Tasks" page with settings for Checked/Enabled/Exclusive (Exclusive creates Items like RadioButton that only one will be checked at a time).
- Added "Slide" in fullscreen during installation.
- Added Splash (by @PsYcHo_RaGE).
- Added Memory/CPU usage Limit (based on item disposition by @PsYcHo_RaGE).
P.S: The 2GB Memory Limit checkbox is required to determine which of the "ARC_Standard.ini/ARC_Optimal.ini" settings generated by "DiskSpan GUI" will be used in the installation.

INFORMATION:
I didn't have time to test the tasks (if you're installing only the selected tasks) but from what @GaMEr_2077 reported it's working correctly.
If they find errors they can inform by PM that I will try to solve them.

To use the modified script download the last "DiskSpan GUI v2+".
Extract the "COMPRESSOR" folder and put it next to the "WPI" script so that your Setup.exe is created directly in the Setup_Files folder.

Edit:
- Added WPI update (Fixed some bugs) (replace script)


how and where to add the decompression of wemtool to this installer?

Cesar82 21-01-2022 08:18

Quote:

Originally Posted by fabrieunko (Post 495495)
how and where to add the decompression of wemtool to this installer?

If it's for GOW use DiskSpan GUI version 2.0.0.7 loading the preset from the database.

balchantus 23-02-2022 09:16

Hi, I get an error when clicking proceed at the requirements stage which says "You must enter a name" and directly after another one wich says "Cannot focus a disabled or invisible window". Does anyone know how to fix this?

I haven't changed anything in the script, just opened it in inno and compiled it.

bunti_o4u 24-02-2022 09:44

Quote:

Originally Posted by balchantus (Post 495967)
Hi, I get an error when clicking proceed at the requirements stage which says "You must enter a name" and directly after another one wich says "Cannot focus a disabled or invisible window". Does anyone know how to fix this?

I haven't changed anything in the script, just opened it in inno and compiled it.

upload your installer.

Edit:
Quote:

Originally Posted by balchantus (Post 495990)
I tried the installer on another computer and it worked fine so I guess it's something with my computer. Do you have any idea what I can do? It also occures in the Final Version you uploaded today

It is running fine on my machine as well..

Upload screenshots.

bunti_o4u 24-02-2022 10:05

Uploaded the Final Version in the first post - compatible with New Version of Knight Compressor.

balchantus 24-02-2022 11:01

3 Attachment(s)
Quote:

Originally Posted by bunti_o4u (Post 495986)
upload your installer.

I tried the installer on another computer and it worked fine so I guess it's something with my computer. Do you have any idea what I can do? It also occures in the Final Version you uploaded today

---------------------
Quote:

Originally Posted by bunti_o4u (Post 495986)
It is running fine on my machine as well..

Upload screenshots.

Maybe it's an error in windows 11?

Cesar82 01-03-2022 17:37

Quote:

Originally Posted by balchantus (Post 495990)
I tried the installer on another computer and it worked fine so I guess it's something with my computer. Do you have any idea what I can do? It also occures in the Final Version you uploaded today

---------------------


Maybe it's an error in windows 11?

To try to correct the error of message 2 you can try to insert the line highlighted in red in the script.
Code:

  if Lock.Tile.Visible and Lock.Tile.Enabled then
    Lock.Tile.SetFocus;


Grumpy 01-03-2022 23:32

Well, I finally remembered to 'move' this thread to the correct forum :D

balchantus 02-03-2022 10:55

Quote:

Originally Posted by Cesar82 (Post 496076)
To try to correct the error of message 2 you can try to insert the line highlighted in red in the script.
Code:

  if Lock.Tile.Visible and Lock.Tile.Enabled then
    Lock.Tile.SetFocus;


Thanks for the suggestion but I tried to add that and both error messages still shows up. Do you know anything else I can try?

Hexagon123 06-03-2022 21:42

1 Attachment(s)
For some reason, they left optional 5 & 6 unused.

Bunti, can you add 2GB limit, more languages, or optional(s)?

So, here's the possibly fixed script.

balchantus 07-03-2022 13:17

Quote:

Originally Posted by Hexagon123 (Post 496125)
For some reason, they left optional 5 & 6 unused.

Bunti, can you add more languages or optional(s)?

So, here's the possibly fixed script.

Not workiing with that script either.

bunti_o4u 08-03-2022 02:30

Quote:

Originally Posted by balchantus (Post 496130)
Not workiing with that script either.

Refer the below post. It may resolve your issue..
Code:

https://stackoverflow.com/questions/70088581/getting-you-must-enter-a-name-and-cannot-focus-a-disabled-or-invisible-window

balchantus 09-03-2022 11:07

Quote:

Originally Posted by bunti_o4u (Post 496137)
Refer the below post. It may resolve your issue..
Code:

https://stackoverflow.com/questions/70088581/getting-you-must-enter-a-name-and-cannot-focus-a-disabled-or-invisible-window

Thank You! It works for me now and thanks to everyone else that tried to help me, I really appreciate it!

darshan9006 05-06-2022 05:23

windows phone installer error
 
1 Attachment(s)
please help me to solve this error

bunti_o4u 05-06-2022 05:30

Quote:

Originally Posted by darshan9006 (Post 497118)
please help me to solve this error

https://www.fileforums.com/showpost....29&postcount=4

TimoT 18-07-2022 13:05

Where can I find this?
 
Quote:

Originally Posted by mausschieber (Post 480929)
It uses the Inno Setup Enhanced Unicode version

I have been looking everywhere for this "Enhanced Version" but I can't find it anywere. Perhaps can you guide me to a place where i can get it? since I tried the unicode version from the jr website and i still get this compile error. Thanks

P.S i found a link from a dead site. I'm not sure if im able to link it but I know there are others who maybe in the same situation as i am

mausschieber 18-07-2022 13:37

Quote:

Originally Posted by TimoT (Post 497679)
I have been looking everywhere for this "Enhanced Version" but I can't find it anywere. Perhaps can you guide me to a place where i can get it? since I tried the unicode version from the jr website and i still get this compile error. Thanks

P.S i found a link from a dead site. I'm not sure if im able to link it but I know there are others who maybe in the same situation as i am

yes here it is
https://fileforums.com/showpost.php?...4&postcount=16

Cesar82 18-07-2022 14:19

Quote:

Originally Posted by TimoT (Post 497679)
I have been looking everywhere for this "Enhanced Version" but I can't find it anywere. Perhaps can you guide me to a place where i can get it? since I tried the unicode version from the jr website and i still get this compile error. Thanks

P.S i found a link from a dead site. I'm not sure if im able to link it but I know there are others who maybe in the same situation as i am


It also has Inno Setup Enhanced 5.51.ee2(u)(build 121216) included in the "Inno Setup Repack (FULL)" that I shared in this #POST.

This version is slightly newer than the version Razor shared

TimoT 18-07-2022 16:23

Thank you for your help.
 
Quote:

Originally Posted by Cesar82 (Post 497681)
It also has Inno Setup Enhanced 5.51.ee2(u)(build 121216) included in the "Inno Setup Repack (FULL)" that I shared in this #POST.

This version is slightly newer than the version Razor shared

Quote:

Originally Posted by mausschieber (Post 497680)


Thank you so much guys i appreciate it. I used the search function in the forum but i couldnt seem to find it. Sorry for that hassle Thanks!!

Masquerade 19-07-2022 00:05

Quote:

Originally Posted by TimoT (Post 497683)
Thank you so much guys i appreciate it. I used the search function in the forum but i couldnt seem to find it. Sorry for that hassle Thanks!!

You'll have a much easier job finding stuff here if you change the search toggle from "Show Threads" to "Show Posts" :)

https://i.ibb.co/WDWmPWn/ex.png

kuyhaa 27-07-2023 22:39

i use cesar version, how to make it support auto detect optional component, ? so the optional check component will disable if the file not download

thanks

ravikant 29-07-2023 20:38

Quote:

Originally Posted by kuyhaa (Post 501758)
i use cesar version, how to make it support auto detect optional component, ? so the optional check component will disable if the file not download

thanks

If you place the optional files next to the setup.exe then the optional files checkbox will work otherwise it won't work. To disable them as default set checked = 0 in the [OptionalTask] section.

kuyhaa 03-08-2023 19:06

Quote:

Originally Posted by ravikant (Post 501783)
If you place the optional files next to the setup.exe then the optional files checkbox will work otherwise it won't work. To disable them as default set checked = 0 in the [OptionalTask] section.

i need disable task checkboxes that don't exist in the data.bin files

XxAZAxX 18-08-2023 11:04

Bug or Error
 
Hi I noticed a small error or bug I don't know to be honest...

Seen and used
Windows Phone Installer - Final (New Version of Knight Compressor)

The problem is the following, I download the WPI Final then start a test installation when I finish installing (obviously everything works) but.... if I go to the system registry I notice a typo error i.e. the following comes out

DisplayIcon: C:\Games\God Of War\\GoW.exe

Which I notice there are 2 " \\ "

in the script it is set like this..

Code:

[Execs]
;Tile Caption|Exec Directory|Exec File|Shortcut Name/Action Name
AppExe1=God Of War||GoW.exe| God Of War

[Icons]
#ifdef AppExe1
// Add IconFileName: "{src}\Icon.ico"; before WorkingDir to change default exe icon.
Name: {group}\{#E1[62]}; Filename: {app}\{#E1[60]}\{#E1[61]}; WorkingDir: {app}\{#E1[60]}; Comment: {#E1[59]}; Check: CreateShortcuts;
Name: {commondesktop}\{#E1[62]}; Filename: {app}\{#E1[60]}\{#E1[61]}; IconFileName: "{app}\Icon.ico"; WorkingDir: {app}\{#E1[60]}; Check: CreateShortcuts;

So I was wondering…

If the game files are set up like this..

Game root folder\file.exe

i.e. the exe is in the root folder of the game, so basically

Code:

[Execs]
;Tile Caption|Exec Directory|Exec File|Shortcut Name/Action Name
AppExe1=God Of War||GoW.exe| God Of War

that would be fine too.. but from what I see it's not very good...

while instead if the structure of the game would be like this ..

Game root\bin\file.exe
so it should be like this..

Code:

[Execs]
;Tile Caption|Exec Directory|Exec File|Shortcut Name/Action Name
AppExe1=God Of War|bin\|GoW.exe| God Of War

it's right?

so in the log it should then appear right i.e.:

DisplayIcon: C:\Games\God Of War\bin\GoW.exe

So I wonder, what's wrong??

Thanks in advance

XxAZAxX 18-08-2023 12:29

Error or Bug
 
1 Attachment(s)
Quote:

Originally Posted by audiofeel (Post 502028)
Yes, everything seems to work like this = bin. without backslash
AppExe1=God Of War|bin|GoW.exe| God Of War

Thanks for answering me.

The version of the script is different from the one you showed me, but yes the approach is the same, by any chance have you tried looking in the system registry?

XxAZAxX 18-08-2023 14:53

Resolved!
 
Tell me if it's good or bad to have solved this way...

It basically created double backslashes in the log file

Code:

RegWriteStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{#AppName}_is1', 'DisplayIcon', ExpandConstant('{app}\{#E1[60]}\{#E1[61]}') )
so i had to change to

Code:

RegWriteStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{#AppName}_is1', 'DisplayIcon', ExpandConstant('{app}\{#E1[61]}'))
and this is where it now appears correctly in the log file,

https://img001.prntscr.com/file/img0...tY5FJAV1tg.png

please if you can ... do a test too I succeeded but you never know.

Thanks in advance to everyone.

XxAZAxX 20-08-2023 17:16

Reply
 
Quote:

Originally Posted by audiofeel (Post 502035)
@XxAZAxX
Here with the first example I have everything ok.
Code:

RegWriteStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{#AppName}_is1', 'DisplayIcon', ExpandConstant('{app}\{#E1[60]}\{#E1[61]}') )

Everything works fine "IF" the exe is inside a folder, but if for example the exe is in the root folder that problem arises...

Try it yourself if it's not a nuisance..

RootFolderName\Setup.exe

you will see that there is this error in the registry...

Thanks in advance audiofeel for all time.

Cesar82 20-08-2023 18:24

Quote:

Originally Posted by XxAZAxX (Post 502049)
Everything works fine "IF" the exe is inside a folder, but if for example the exe is in the root folder that problem arises...

Try it yourself if it's not a nuisance..

RootFolderName\Setup.exe

you will see that there is this error in the registry...

Thanks in advance audiofeel for all time.

TRY CHANGING TO:
Code:

RegWriteStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{#AppName}_is1', 'DisplayIcon', ExpandConstant(AddBackslash('{app}\{#E1[60]}') + '{#E1[61]}') )

XxAZAxX 21-08-2023 08:41

Solved!
 
Quote:

Originally Posted by Cesar82 (Post 502050)
TRY CHANGING TO:
Code:

RegWriteStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{#AppName}_is1', 'DisplayIcon', ExpandConstant(AddBackslash('{app}\{#E1[60]}') + '{#E1[61]}') )

I confirm, problem solved Thanks to the string that Cesar82 gave me

This was the one I had set, and it was temporary of course...
Code:

ExpandConstant('{app}\{#E1[61]}')
This is the right one instead, thanks to Cesar82
Code:

ExpandConstant(AddBackslash('{app}\{#E1[60]}') + '{#E1[61]}')


All times are GMT -7. The time now is 22:38.

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