From b10bfbafb22becebbadf06fddc0919cbffbb1322 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Mon, 18 Mar 2013 15:30:15 +0100 Subject: [PATCH] correct ini file copy --- CLIENT_DATA/setup32.ins | 7 +------ builder-targets-cb.sh | 6 ++++++ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CLIENT_DATA/setup32.ins b/CLIENT_DATA/setup32.ins index efcdcec..9709c39 100644 --- a/CLIENT_DATA/setup32.ins +++ b/CLIENT_DATA/setup32.ins @@ -78,13 +78,8 @@ endif msiexec /i "$InstallMsi$" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=1 REBOOT=ReallySuppress [Files_install] -; copy the ini file to the InstallDir copy "$IniCfgFile$" "$InstallDir$" -copy "$IniCfgFile$" "$InstallDir$\SoftMaker\Settings\pmv10config.ini" - -; Example of recursively copying some files into the installation directory: -; -; copy -s "%ScriptPath%\files\*.*" "$InstallDir$" +copy "%ScriptPath%\*.ini" "$InstallDir$\SoftMaker\Settings" [Registry_install] ; Example of setting some values of an registry key: diff --git a/builder-targets-cb.sh b/builder-targets-cb.sh index 9a3d4a8..c89dee2 100644 --- a/builder-targets-cb.sh +++ b/builder-targets-cb.sh @@ -23,3 +23,9 @@ function cleanup() { echo "Cleanup" builder_cleanup } + +function create() { + echo "Create" + builder_create + cp $INST_DIR/CLIENT_DATA/opsi-${PN}.ini $INST_DIR/CLIENT_DATA/pmv10config.ini +} \ No newline at end of file