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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #10  
Old 27-08-2017, 13:18
Sebazz Sebazz is offline
Registered User
 
Join Date: Mar 2016
Location: Terra
Posts: 60
Thanks: 24
Thanked 7 Times in 6 Posts
Sebazz is on a distinguished road
Quote:
Originally Posted by -NORO- View Post
You need to create a checkbox like "create a desktop icon" , this is this same principle , also look at CreateShortcuts function in your .iss , you will understand.

StartMenuIcon:=CheckBoxCreate(WizardForm,x,x,x,x,' Create Start Menu Icons');
CheckBoxSetChecked(StartMenuIcon,True);

It creates a checkbox but you need to declare first StartMenuIcon as variable and add it in procedures as CheckBoxOnUp,CheckBoxOnUpdown , .. etc.
Ok. I add these function lines, only have a problem with this code. When try to add the function, this not compile because says duplicate.

I try to copy this same function and replace the 'DesktopChk' with 'StartMenuIcon', but dont worked. Can you help me?

Code:
function CreateShortcuts:Boolean;
begin
  if ISDoneError then
    Result:=False
  else
    Result:=CheckBoxGetChecked(DesktopChk);
end;

Last edited by Sebazz; 27-08-2017 at 15:49.
Reply With Quote
 

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
Conversion Designer/Installer Creator Razor12911 Conversion Tutorials 1613 03-10-2024 01:24
Windows XP - Tricks gargujjwal Software 3 25-05-2008 02:54
Error Windows Installer: Command And Conquer 3 Kane Edition glfsd PC Games 14 24-01-2008 06:00
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 02:40.


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