foce appdata dir for user config

This commit is contained in:
Mario Fetka 2013-03-26 11:43:57 +01:00
parent cffc41434e
commit dd3a35bb61
3 changed files with 16 additions and 0 deletions

View File

@ -105,6 +105,7 @@ endif
[Files_install_32]
; copy the ini file to the InstallDir
copy "$IniCfgFile$" "$InstallDir32$"
copy "%ScriptPath%\*.ini" "$InstallDir32$"
; Example of recursively copying some files into the installation directory:
;
@ -116,6 +117,7 @@ copy -s "%ScriptPath%\X86\*.*" "$InstallDir32$"
[Files_install_64]
; copy the ini file to the InstallDir
copy "$IniCfgFile$" "$InstallDir64$"
copy "%ScriptPath%\*.ini" "$InstallDir64$"
; Example of recursively copying some files into the installation directory:
;

View File

@ -142,3 +142,12 @@ OPSI_INI_SECTION[1]="X86_64"
OPSI_INI_OPTION[1]="UninstallProg64"
OPSI_INI_VALUE[1]="Uninstall.exe"
OPSI_INI_SECTION[2]="Option"
OPSI_INI_OPTION[2]="OnlyOneInstance"
OPSI_INI_VALUE[2]="0"
OPSI_INI_SECTION[3]="Option"
OPSI_INI_OPTION[3]="MRUDUse"
OPSI_INI_VALUE[3]="0"

View File

@ -23,3 +23,8 @@ function cleanup() {
echo "Cleanup"
builder_cleanup
}
function create() {
echo "Create"
builder_create
cp $INST_DIR/CLIENT_DATA/opsi-${PN}.ini $INST_DIR/CLIENT_DATA/imagine.ini
}