add more doc to builder-product.cfg
This commit is contained in:
parent
9d18a4bfaf
commit
cb8289d5dd
@ -145,7 +145,7 @@ copy "$IniCfgFile$" "$InstallDir$"
|
|||||||
;
|
;
|
||||||
; set_link
|
; set_link
|
||||||
; name: $ProductId$
|
; name: $ProductId$
|
||||||
; target: <path to the program>
|
; target: $InstallDir$\$ProgramExecutable$
|
||||||
; parameters:
|
; parameters:
|
||||||
; working_dir: $InstallDir$
|
; working_dir: $InstallDir$
|
||||||
; icon_file:
|
; icon_file:
|
||||||
@ -159,7 +159,7 @@ copy "$IniCfgFile$" "$InstallDir$"
|
|||||||
;
|
;
|
||||||
; set_link
|
; set_link
|
||||||
; name: $ProductId$
|
; name: $ProductId$
|
||||||
; target: <path to the program>
|
; target: $InstallDir$\$ProgramExecutable$
|
||||||
; parameters: <some_param>
|
; parameters: <some_param>
|
||||||
; working_dir: $InstallDir$
|
; working_dir: $InstallDir$
|
||||||
; icon_file: <path to icon file>
|
; icon_file: <path to icon file>
|
||||||
|
@ -92,7 +92,7 @@ else
|
|||||||
comment "Patch Registry"
|
comment "Patch Registry"
|
||||||
Registry_install /32Bit
|
Registry_install /32Bit
|
||||||
comment "Create shortcuts"
|
comment "Create shortcuts"
|
||||||
LinkFolder_install
|
LinkFolder_install_32
|
||||||
comment "File Type Association"
|
comment "File Type Association"
|
||||||
FileTypeAssoc_install
|
FileTypeAssoc_install
|
||||||
endif
|
endif
|
||||||
@ -108,7 +108,7 @@ else
|
|||||||
comment "Patch Registry"
|
comment "Patch Registry"
|
||||||
Registry_install /64Bit
|
Registry_install /64Bit
|
||||||
comment "Create shortcuts"
|
comment "Create shortcuts"
|
||||||
LinkFolder_install
|
LinkFolder_install_64
|
||||||
comment "File Type Association"
|
comment "File Type Association"
|
||||||
FileTypeAssoc_install
|
FileTypeAssoc_install
|
||||||
endif
|
endif
|
||||||
@ -193,7 +193,7 @@ copy "$IniCfgFile$" "$InstallDir64$"
|
|||||||
; set "name2" = REG_DWORD:0001
|
; set "name2" = REG_DWORD:0001
|
||||||
; set "name3" = REG_BINARY:00 af 99 cd
|
; set "name3" = REG_BINARY:00 af 99 cd
|
||||||
|
|
||||||
[LinkFolder_install]
|
[LinkFolder_install_32]
|
||||||
; Example of deleting a folder from AllUsers startmenu:
|
; Example of deleting a folder from AllUsers startmenu:
|
||||||
;
|
;
|
||||||
; set_basefolder common_programs
|
; set_basefolder common_programs
|
||||||
@ -206,9 +206,9 @@ copy "$IniCfgFile$" "$InstallDir64$"
|
|||||||
;
|
;
|
||||||
; set_link
|
; set_link
|
||||||
; name: $ProductId$
|
; name: $ProductId$
|
||||||
; target: <path to the program>
|
; target: $InstallDir32$\$ProgramExecutable32$
|
||||||
; parameters:
|
; parameters:
|
||||||
; working_dir: $InstallDir$
|
; working_dir: $InstallDir32$
|
||||||
; icon_file:
|
; icon_file:
|
||||||
; icon_index:
|
; icon_index:
|
||||||
; end_link
|
; end_link
|
||||||
@ -220,9 +220,43 @@ copy "$IniCfgFile$" "$InstallDir64$"
|
|||||||
;
|
;
|
||||||
; set_link
|
; set_link
|
||||||
; name: $ProductId$
|
; name: $ProductId$
|
||||||
; target: <path to the program>
|
; target: $InstallDir32$\$ProgramExecutable32$
|
||||||
; parameters: <some_param>
|
; 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_file: <path to icon file>
|
||||||
; icon_index: 2
|
; icon_index: 2
|
||||||
; end_link
|
; end_link
|
||||||
|
@ -98,6 +98,26 @@ DL_EXTRACT_TO[3]="office"
|
|||||||
# File array index for the image showing while installing the program
|
# File array index for the image showing while installing the program
|
||||||
ICON_DL_INDEX=0
|
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
|
# Setup additional, custom WINST variables
|
||||||
# which will be injected to the *.ins files (replaces token @@BUILDER_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"
|
# results in "%ScriptPath%\X86_64\svcpack\aio-runtimes.exe"
|
||||||
#
|
#
|
||||||
#########################
|
#########################
|
||||||
WINST_NAME[0]="InstallExe"
|
WINST_NAME[1]="InstallExe"
|
||||||
WINST_VALUE[0]="@DL_EXTRACT_WINST_PATH[2]@\\svcpack\\aio-runtimes.exe"
|
WINST_VALUE[1]="@DL_EXTRACT_WINST_PATH[2]@\\svcpack\\aio-runtimes.exe"
|
||||||
|
|
||||||
WINST_NAME[1]="MyVar"
|
WINST_NAME[2]="MyVar"
|
||||||
WINST_VALUE[1]="My content"
|
WINST_VALUE[3]="My content"
|
||||||
|
|
||||||
#########################
|
#########################
|
||||||
# Setup required OPSI_INI variables
|
# Setup required OPSI_INI variables
|
||||||
|
Loading…
Reference in New Issue
Block a user