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

Reply
 
Thread Tools Display Modes
  #241  
Old 20-08-2023, 18:24
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,014
Thanks: 1,716
Thanked 2,173 Times in 739 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)
Sponsored Links
  #242  
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
  #243  
Old 29-01-2024, 02:55
pcblizzard pcblizzard is offline
Registered User
 
Join Date: Aug 2009
Location: Germany
Posts: 32
Thanks: 62
Thanked 3 Times in 3 Posts
pcblizzard is on a distinguished road
I'm at a loss right now, but the setup doesn't create a desktop shortcut for me (and in the start menu the shortcut is simply named “.lnk”, i.e. without the name of the game before the “.lnk”).

I know I've done something wrong, maybe someone can help me out?

Code:
[Execs]
;Tile Caption|Exec Directory|Exec File|Shortcut Name/Action Name
AppExe1=Stardew Valley|Stardew Valley.exe
And I sometimes (not always) have the problem that I can't activate the AutoRun menu “immediately” (after clicking once), for example, so I have to click 4–5 times with the mouse before it works.


KR pcblizzard

Last edited by pcblizzard; 29-01-2024 at 03:04. Reason: Add the info about the autorun
Reply With Quote
  #244  
Old 29-01-2024, 03:28
audiofeel's Avatar
audiofeel audiofeel is online now
Registered User
 
Join Date: Jan 2013
Location: Russia
Posts: 356
Thanks: 435
Thanked 815 Times in 299 Posts
audiofeel is on a distinguished road
Quote:
Originally Posted by pcblizzard View Post
I'm at a loss right now, but the setup doesn't create a desktop shortcut for me (and in the start menu the shortcut is simply named “.lnk”, i.e. without the name of the game before the “.lnk”).

I know I've done something wrong, maybe someone can help me out?

Code:
[Execs]
;Tile Caption|Exec Directory|Exec File|Shortcut Name/Action Name
AppExe1=Stardew Valley|Stardew Valley.exe
And I sometimes (not always) have the problem that I can't activate the AutoRun menu “immediately” (after clicking once), for example, so I have to click 4–5 times with the mouse before it works.


KR pcblizzard
Code:
AppExe1=Stardew Valley||Stardew Valley.exe|Stardew Valley
Reply With Quote
The Following User Says Thank You to audiofeel For This Useful Post:
pcblizzard (29-01-2024)
  #245  
Old 29-01-2024, 03:49
pcblizzard pcblizzard is offline
Registered User
 
Join Date: Aug 2009
Location: Germany
Posts: 32
Thanks: 62
Thanked 3 Times in 3 Posts
pcblizzard is on a distinguished road
Ouch, thank you!
Reply With Quote
  #246  
Old 29-01-2024, 09:26
IRAQIGHOST IRAQIGHOST is offline
Registered User
 
Join Date: Jun 2020
Location: Iraq
Posts: 60
Thanks: 38
Thanked 20 Times in 11 Posts
IRAQIGHOST is on a distinguished road
after creating the setup and check the Setup.exe in Virustotal it's showed 3 of programs detected it as Malware
Reply With Quote
  #247  
Old 29-01-2024, 10:12
pcblizzard pcblizzard is offline
Registered User
 
Join Date: Aug 2009
Location: Germany
Posts: 32
Thanks: 62
Thanked 3 Times in 3 Posts
pcblizzard is on a distinguished road
I have one more question: Is it possible to add arguments under “[Execs]”?
I have tried it, but it has no effect, the “Arguments” are not added to the desktop- / start menu shortcuts.


KR pcblizzard
Reply With Quote
  #248  
Old 29-01-2024, 10:29
audiofeel's Avatar
audiofeel audiofeel is online now
Registered User
 
Join Date: Jan 2013
Location: Russia
Posts: 356
Thanks: 435
Thanked 815 Times in 299 Posts
audiofeel is on a distinguished road
Quote:
Originally Posted by pcblizzard View Post
I have one more question: Is it possible to add arguments under “[Execs]”?
I have tried it, but it has no effect, the “Arguments” are not added to the desktop- / start menu shortcuts.


KR pcblizzard
Code:
[Icons]
#ifdef AppExe1
// Add IconFileName: "{src}\Icon.ico"; before WorkingDir to change defalut exe icon.
Name: {group}\{#E1[62]}; Filename: {app}\{#E1[60]}\{#E1[61]}; WorkingDir: {app}\{#E1[60]}; Comment: {#E1[59]}; Check: CreateShortcuts; Parameters: /s
Name: {commondesktop}\{#E1[62]}; Filename: {app}\{#E1[60]}\{#E1[61]}; IconFileName: "{app}\Icon.ico"; WorkingDir: {app}\{#E1[60]}; Check: CreateShortcuts; Parameters: /s
instead of "/s", enter your parameter
Reply With Quote
The Following User Says Thank You to audiofeel For This Useful Post:
pcblizzard (29-01-2024)
  #249  
Old 29-01-2024, 10:30
pcblizzard pcblizzard is offline
Registered User
 
Join Date: Aug 2009
Location: Germany
Posts: 32
Thanks: 62
Thanked 3 Times in 3 Posts
pcblizzard is on a distinguished road
I have to thank you again!
Reply With Quote
  #250  
Old 30-01-2024, 07:11
audiofeel's Avatar
audiofeel audiofeel is online now
Registered User
 
Join Date: Jan 2013
Location: Russia
Posts: 356
Thanks: 435
Thanked 815 Times in 299 Posts
audiofeel is on a distinguished road
Quote:
Originally Posted by IRAQIGHOST View Post
after creating the setup and check the Setup.exe in Virustotal it's showed 3 of programs detected it as Malware
rename the file to a different name. for example, in "TEXIT.exe"
Reply With Quote
  #251  
Old 09-07-2024, 06:43
pcblizzard pcblizzard is offline
Registered User
 
Join Date: Aug 2009
Location: Germany
Posts: 32
Thanks: 62
Thanked 3 Times in 3 Posts
pcblizzard is on a distinguished road
I have now found errors/problems:

1. on a (4K) UHD monitor the installer looks very compressed. Is there a scaling option in the script that can be activated? [Second image]
2. if I want to change the installation folder, click on another one and click on the normal folder again, it automatically adds the "AppName" after the "InstallDir" name. [First image]

Example, based on the picture: if I click on the folder "Intel" and then again on "Jak 2 HD", the installation folder reads "C:\Program Files\Jak 2 HD" (which would be correct) instead of "C:\Program Files\Jak 2 HD\Jak II: Renegade HD" (which is wrong, because "InstallDir" + "AppName" is used). Sometimes dots are simply inserted instead of "Program Files" (i.e. "C:\...\Jak 2 HD" instead of "C:\Program Files\Jak 2 HD") If you do not check this and click on "Ok" in the "Select Directory" window, the installer crashes (but I have not yet found out when the installer sets the "..." instead of "Program Files").

EDIT: Ah and when I use the uninstaller and click on e.g. the progress bar (although I don't think it matters where I click), I get an error message (but the program is [apparently still completely] uninstalled) (Third image).

Thank you for your help
Attached Images
File Type: jpg 1111111.jpg (32.9 KB, 53 views)
File Type: jpg XTBDWEN.jpg (92.7 KB, 56 views)
File Type: jpg Screenshot 2024-07-09 194726.jpg (112.9 KB, 49 views)

Last edited by pcblizzard; 09-07-2024 at 10:51. Reason: See "Edit"
Reply With Quote
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 10:15.


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