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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 18-08-2023, 12:29
XxAZAxX XxAZAxX is offline
Registered User
 
Join Date: Jul 2018
Location: LUNA
Posts: 26
Thanks: 48
Thanked 6 Times in 5 Posts
XxAZAxX is on a distinguished road
Error or Bug

Quote:
Originally Posted by audiofeel View Post
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?
Attached Images
File Type: png Screenshot_1.png (24.9 KB, 112 views)
Reply With Quote
Sponsored Links
  #2  
Old 18-08-2023, 14:53
XxAZAxX XxAZAxX is offline
Registered User
 
Join Date: Jul 2018
Location: LUNA
Posts: 26
Thanks: 48
Thanked 6 Times in 5 Posts
XxAZAxX is on a distinguished road
Thumbs up 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,



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

Thanks in advance to everyone.
Reply With Quote
  #3  
Old 20-08-2023, 17:16
XxAZAxX XxAZAxX is offline
Registered User
 
Join Date: Jul 2018
Location: LUNA
Posts: 26
Thanks: 48
Thanked 6 Times in 5 Posts
XxAZAxX is on a distinguished road
Reply

Quote:
Originally Posted by audiofeel View Post
@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.
Reply With Quote
  #4  
Old 20-08-2023, 18:24
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by XxAZAxX View Post
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]}') )
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
XxAZAxX (21-08-2023)
  #5  
Old 21-08-2023, 08:41
XxAZAxX XxAZAxX is offline
Registered User
 
Join Date: Jul 2018
Location: LUNA
Posts: 26
Thanks: 48
Thanked 6 Times in 5 Posts
XxAZAxX is on a distinguished road
Solved!

Quote:
Originally Posted by Cesar82 View Post
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]}')
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 18:14.


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