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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 23-07-2017, 08:16
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,043 Times in 3,086 Posts
pakrat2k2 is on a distinguished road
Quote:
Originally Posted by Danziel123 View Post
How to make 2 or more icon in inno setup?
try:

[Icons]
Name: "{group}\My Program"; Filename: "{app}\MyProg.exe"; Components: main; Tasks: startmenu
Name: "{group}\My Program Help"; Filename: "{app}\MyProg.chm"; Components: help; Tasks: startmenu
Name: "{commondesktop}\My Program"; Filename: "{app}\MyProg.exe"; Components

or in INNO > HELP > documentation, search for icon, for more info.
Reply With Quote
Sponsored Links
  #2  
Old 24-07-2017, 02:57
seventhorama seventhorama is offline
Registered User
 
Join Date: Jul 2011
Location: outer space
Posts: 30
Thanks: 0
Thanked 1 Time in 1 Post
seventhorama is on a distinguished road
i need some help in modifying xml using innosetup

Code:
<?xml version="1.0"?>
<Settings>
  <Setting type="10" key="DownloadInPlaceDir" value="D:\Games\My Games"/>
  <Setting type="10" key="LastUsernameToLoginProd" value="fb2076434038419fa915a7c07bc4768f2b847bd600b9482d440f1ced341a48c64654c4fdec3f57a7b1b35d4913675d33d8c7793691b0ff84caaf6815ee873f91964e2fe64cbf4683"/>
  <Setting type="10" key="RememberMeProd" value="1b07700a38e33470"/>
  <Setting type="10" key="RememberMeUserIdProd" value="1b07700a38e33470"/>
  <Setting type="10" key="TFAIdProd" value="1b07700a38e33470"/>
</Settings>
can i modify D:\Games\My Games into parent dir (not app dir)?

i have tried this script but no luck yet...

Code:
procedure CurStepChanged(CurStep: TSetupStep);
var
  UnicodeStr: string;
  ANSIStr: AnsiString;
begin
  if (CurStep = ssPostInstall) then
  begin
  LoadStringFromFile(ExpandConstant('{src}\apps.xml'), ANSIStr)
  UnicodeStr := String(ANSIStr);
  StringChangeEx(UnicodeStr, 'DownloadInPlaceDir', ExpandConstant('{src}'), False)
  SaveStringToFile(ExpandConstant('{src}\apps.xml'), AnsiString(UnicodeStr), False);
  end;
end;
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
INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup REV0 Conversion Tutorials 129 21-05-2021 05:51
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup REV0 Conversion Tutorials 51 26-03-2015 06:57
Frequently Asked Questions Joe Forster/STA PC Games - Frequently Asked Questions 0 29-11-2005 09:48



All times are GMT -7. The time now is 07:28.


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