http://bugzilla.wpkg.org/show_bug.cgi?id=197 Summary: WPKGINST.exe can not load settings.xml from full path Product: WPKG Client Version: 1.3.9 Platform: PC OS/Version: Windows XP Status: NEW Severity: major Priority: P2 Component: WPKG Client AssignedTo: mangoo at wpkg.org ReportedBy: bugzilla at noldi.de QAContact: wpkg-users at lists.wpkg.org Hi, I've written an installation routine, which automatically deploys 64 or 32 Bit WPKGClient via PSEXEC. The installation via MSI was correctly deployed with the argument: SETTINGSFILE="%~dp0settings.xml" BUT: I wanted to check prior installation whether the application is installed or not. If it is installed I only want to apply the settings.xml via WPKGINST.EXE --SETTINGSFILE=C:\InstallSilent\settings.xml This is not possible, unless the settings.xml is in the workpath and is submitted like this: WPKGINST.EXE --SETTINGSFILE=settings.xml Here is the batch script for installation purposes in detail: -- snip -- if exist "%PROGRAMFILES%\wpkg\wpkginst.exe" "%PROGRAMFILES%\wpkg\wpkginst.exe" --SETTINGSFILE="%~dp0settings.xml" if not exist "%PROGRAMFILES%\wpkg\wpkginst.exe" msiexec /qn /i "%~dp0WPKG Client 1.3.9-x32.msi" SETTINGSFILE="%~dp0settings.xml" -- snap -- I had to change the script into the following, so that the script functions properly: -- snip -- cd /D "%~dp0" echo %CD% if exist "%PROGRAMFILES%\wpkg\wpkginst.exe" "%PROGRAMFILES%\wpkg\wpkginst.exe" --SETTINGSFILE=settings.xml if not exist "%PROGRAMFILES%\wpkg\wpkginst.exe" msiexec /qn /i "%~dp0WPKG Client 1.3.9-x32.msi" SETTINGSFILE="%~dp0settings.xml" -- snap -- Hope you can correct the SETTINGSFILE option in the next version. I also tried the --import and --export option. Seems to be the same. I Tested it on a Windows XP SP3 with latest SP installed. If something is unintelligible, Please ask ... I know that my english could be much better ;-) Regards M. Arnoldi Germany -- Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. |