correct ini file copy

This commit is contained in:
Mario Fetka 2013-03-18 15:30:15 +01:00
parent 84c2974d37
commit b10bfbafb2
2 changed files with 7 additions and 6 deletions

View File

@ -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:

View File

@ -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
}