add more doc to builder-product.cfg

This commit is contained in:
Mario Fetka 2019-09-20 12:41:25 +02:00
parent 9d18a4bfaf
commit cb8289d5dd
3 changed files with 67 additions and 13 deletions

View File

@ -145,7 +145,7 @@ copy "$IniCfgFile$" "$InstallDir$"
;
; set_link
; name: $ProductId$
; target: <path to the program>
; target: $InstallDir$\$ProgramExecutable$
; parameters:
; working_dir: $InstallDir$
; icon_file:
@ -159,7 +159,7 @@ copy "$IniCfgFile$" "$InstallDir$"
;
; set_link
; name: $ProductId$
; target: <path to the program>
; target: $InstallDir$\$ProgramExecutable$
; parameters: <some_param>
; working_dir: $InstallDir$
; icon_file: <path to icon file>

View File

@ -92,7 +92,7 @@ else
comment "Patch Registry"
Registry_install /32Bit
comment "Create shortcuts"
LinkFolder_install
LinkFolder_install_32
comment "File Type Association"
FileTypeAssoc_install
endif
@ -108,7 +108,7 @@ else
comment "Patch Registry"
Registry_install /64Bit
comment "Create shortcuts"
LinkFolder_install
LinkFolder_install_64
comment "File Type Association"
FileTypeAssoc_install
endif
@ -193,7 +193,7 @@ copy "$IniCfgFile$" "$InstallDir64$"
; set "name2" = REG_DWORD:0001
; set "name3" = REG_BINARY:00 af 99 cd
[LinkFolder_install]
[LinkFolder_install_32]
; Example of deleting a folder from AllUsers startmenu:
;
; set_basefolder common_programs
@ -206,9 +206,9 @@ copy "$IniCfgFile$" "$InstallDir64$"
;
; set_link
; name: $ProductId$
; target: <path to the program>
; target: $InstallDir32$\$ProgramExecutable32$
; parameters:
; working_dir: $InstallDir$
; working_dir: $InstallDir32$
; icon_file:
; icon_index:
; end_link
@ -220,9 +220,43 @@ copy "$IniCfgFile$" "$InstallDir64$"
;
; set_link
; name: $ProductId$
; target: <path to the program>
; target: $InstallDir32$\$ProgramExecutable32$
; parameters: <some_param>
; working_dir: $InstallDir$
; working_dir: $InstallDir32$
; icon_file: <path to icon file>
; icon_index: 2
; end_link
[LinkFolder_install_64]
; Example of deleting a folder from AllUsers startmenu:
;
; set_basefolder common_programs
; delete_subfolder $ProductId$
;
; Example of creating an shortcut to the installed exe in AllUsers startmenu:
;
; set_basefolder common_programs
; set_subfolder $ProductId$
;
; set_link
; name: $ProductId$
; target: $InstallDir64$\$ProgramExecutable64$
; parameters:
; working_dir: $InstallDir64$
; icon_file:
; icon_index:
; end_link
;
; Example of creating an shortcut to the installed exe on AllUsers desktop:
;
; set_basefolder common_desktopdirectory
; set_subfolder ""
;
; set_link
; name: $ProductId$
; target: $InstallDir64$\$ProgramExecutable64$
; parameters: <some_param>
; working_dir: $InstallDir64$
; icon_file: <path to icon file>
; icon_index: 2
; end_link

View File

@ -98,6 +98,26 @@ DL_EXTRACT_TO[3]="office"
# File array index for the image showing while installing the program
ICON_DL_INDEX=0
#######################################
# specify Executable for Desktop link
#######################################
on 32bit or 64bit packages
WINST_NAME[0]="ProgramExecutable"
WINST_VALUE[0]="7z.exe"
######################################
on the dual arch package
WINST_NAME[0]="ProgramExecutable32"
WINST_VALUE[0]="7z.exe"
# AND
WINST_NAME[0]="ProgramExecutable64"
WINST_VALUE[0]="7z.exe"
#########################
# Setup additional, custom WINST variables
# which will be injected to the *.ins files (replaces token @@BUILDER_VARIABLES@@ )
@ -110,11 +130,11 @@ ICON_DL_INDEX=0
# results in "%ScriptPath%\X86_64\svcpack\aio-runtimes.exe"
#
#########################
WINST_NAME[0]="InstallExe"
WINST_VALUE[0]="@DL_EXTRACT_WINST_PATH[2]@\\svcpack\\aio-runtimes.exe"
WINST_NAME[1]="InstallExe"
WINST_VALUE[1]="@DL_EXTRACT_WINST_PATH[2]@\\svcpack\\aio-runtimes.exe"
WINST_NAME[1]="MyVar"
WINST_VALUE[1]="My content"
WINST_NAME[2]="MyVar"
WINST_VALUE[3]="My content"
#########################
# Setup required OPSI_INI variables