Code

Changeset a0fa51 in freedownloadmanager.core


Ignore:
Timestamp:
10/15/2019 11:43:29 AM (5 weeks ago)
Author:
isnoguter
Branches:
master
Parents:
b46fd1
git-author:
Dominik Daehn <isnoguter@…> (10/15/2019 11:43:29 AM)
git-committer:
Dominik Daehn <isnoguter@…> (10/15/2019 11:43:29 AM)
Message:

insert Section LinkFolder_install_DesktopLink_32 and LinkFolder_install_DesktopLink_64

Location:
CLIENT_DATA
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CLIENT_DATA/delsub3264.ins

    r43fa00 ra0fa51  
    7575Set $Property_CustomPostUninstall$ = getProductProperty("custom-post-uninstall","none") 
    7676if not ($Property_CustomPostUninstall$ = "none") 
    77         comment "Include custom post uninstall file" 
    78         if FileExists("%ScriptPath%\custom\" + $Property_CustomPostUninstall$) 
    79                 sub_CustomPostUninstall 
    80         else 
    81                 LogError "Include script NOT exists (" + $Property_CustomPostUninstall$ +")" 
    82         endif 
     77        comment "Include custom post uninstall file" 
     78        if FileExists("%ScriptPath%\custom\" + $Property_CustomPostUninstall$) 
     79                sub_CustomPostUninstall 
     80        else 
     81                LogError "Include script NOT exists (" + $Property_CustomPostUninstall$ +")" 
     82        endif 
    8383endif 
    8484 
  • CLIENT_DATA/setup3264.ins

    rcd9d8e ra0fa51  
    8686                comment "Create shortcuts" 
    8787                LinkFolder_install 
     88                Set $Property_DesktopLink$ = GetProductProperty("DesktopLink","false") 
     89                if ($Property_DesktopLink$ = "true") 
     90                        LinkFolder_install_DesktopLink_32 
     91                endif 
    8892        endif 
    8993 
     
    100104                comment "Create shortcuts" 
    101105                LinkFolder_install 
    102         endif 
    103          
    104         Set $Property_DesktopLink$ = GetProductProperty("DesktopLink","false") 
    105         if ($Property_DesktopLink$ = "true") 
    106                 comment "Create shortcuts" 
    107                 LinkFolder_install 
    108         endif 
    109  
    110         Set $Property_CustomPostInstall$ = getProductProperty("custom-post-install","none") 
    111         if not ($Property_CustomPostInstall$ = "none") 
    112                 comment "Include custom post install file" 
    113                 if FileExists("%ScriptPath%\custom\" + $Property_CustomPostInstall$) 
    114                         sub_CustomPostInstall 
    115                 else 
    116                         LogError "Include script NOT exists (" + $Property_CustomPostInstall$ +")" 
    117                 endif 
    118         endif 
     106                Set $Property_DesktopLink$ = GetProductProperty("DesktopLink","false") 
     107                if ($Property_DesktopLink$ = "true") 
     108                        LinkFolder_install_DesktopLink_64 
     109                endif 
     110        endif 
     111         
     112        Set $Property_CustomPostInstall$ = getProductProperty("custom-post-install","none") 
     113        if not ($Property_CustomPostInstall$ = "none") 
     114                comment "Include custom post install file" 
     115                if FileExists("%ScriptPath%\custom\" + $Property_CustomPostInstall$) 
     116                        sub_CustomPostInstall 
     117                else 
     118                        LogError "Include script NOT exists (" + $Property_CustomPostInstall$ +")" 
     119                endif 
     120        endif 
     121         
    119122endif 
    120123 
     
    185188;       icon_index: 2 
    186189; end_link 
     190 
     191[LinkFolder_install_DesktopLink_32] 
     192; 
     193; Example of creating an shortcut to the installed exe on AllUsers desktop: 
     194; 
     195set_basefolder common_desktopdirectory 
     196set_subfolder "" 
     197; 
     198set_link 
     199        name: $NAME$ 
     200        target: "$InstallDir32$\fdm.exe" 
     201        parameters: 
     202        working_dir: $InstallDir32$ 
     203        icon_file: 
     204        icon_index: 
     205end_link 
     206 
     207[LinkFolder_install_DesktopLink_64] 
     208; 
     209; Example of creating an shortcut to the installed exe on AllUsers desktop: 
     210; 
     211set_basefolder common_desktopdirectory 
     212set_subfolder "" 
     213; 
     214set_link 
     215        name: $NAME$ 
     216        target: "$InstallDir64$\fdm.exe" 
     217        parameters: 
     218        working_dir: $InstallDir64$ 
     219        icon_file: 
     220        icon_index: 
     221end_link 
    187222 
    188223[sub_CustomPostInstall] 
Note: See TracChangeset for help on using the changeset viewer.