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 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 18:45.

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