Difference between revisions of "KODIP 3.6 Testversion"
From WPKG | Open Source Software Deployment and Distribution
m |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
First the entry for packages.xml: | First the entry for packages.xml: | ||
− | < | + | <source lang="xml"> |
− | + | <package | |
− | id="kodip36testversion" | + | id="kodip36testversion" |
− | name="KODIP 3.6 Testversion" | + | name="KODIP 3.6 Testversion" |
− | revision="1" | + | revision="1" |
− | reboot="false" | + | reboot="false" |
− | priority="0" | + | priority="0"> |
− | <check type="uninstall" condition="exists" path="KODIP 3.6 Testversion" / | + | <check type="uninstall" condition="exists" path="KODIP 3.6 Testversion" /> |
− | + | ||
− | <install cmd=' | + | <install cmd='%SOFTWARE%\KODIP\kodip-install.bat'> |
− | + | ||
− | + | <remove cmd='MsiExec.exe /q /x{5B4FF36D-A692-11D5-94BB-0050FC27E017}' /> | |
− | + | </package> | |
− | <remove cmd='MsiExec.exe /q /x{5B4FF36D-A692-11D5-94BB-0050FC27E017}' / | + | </source> |
− | + | ||
− | </ | + | |
− | + | ||
This is a batch file which installs KODIP 3.6 Testversion and corrects the permission: | This is a batch file which installs KODIP 3.6 Testversion and corrects the permission: | ||
− | < | + | <source lang="dos"> |
− | msiexec /i " | + | msiexec /i "%SOFTWARE%\KODIP\KODIP 3.6 Testversion.MSI" /q allusers=1 ADDLOCAL=ALL |
− | cacls | + | cacls %PROGRAMFILES%\kodip\data /T /E /P Benutzer:f >nul |
− | </ | + | </source> |
− | [[category:Silent Installers | + | [[category:Silent Installers]] |
Latest revision as of 22:34, 16 February 2008
This is a silent installer and uninstaller for KODIP 3.6 Testversion.
KODIP 3.6 Testversion is broken, as it was designed to be run as Administrator - so if you install it, it won't run as a normal user, but only as an Administrator - unless you correct some permissions.
This is why the installer is placed in separate batch file.
First the entry for packages.xml:
<package
id="kodip36testversion"
name="KODIP 3.6 Testversion"
revision="1"
reboot="false"
priority="0">
<check type="uninstall" condition="exists" path="KODIP 3.6 Testversion" />
<install cmd='%SOFTWARE%\KODIP\kodip-install.bat'>
<remove cmd='MsiExec.exe /q /x{5B4FF36D-A692-11D5-94BB-0050FC27E017}' />
</package>
This is a batch file which installs KODIP 3.6 Testversion and corrects the permission:
msiexec /i "%SOFTWARE%\KODIP\KODIP 3.6 Testversion.MSI" /q allusers=1 ADDLOCAL=ALL
cacls %PROGRAMFILES%\kodip\data /T /E /P Benutzer:f >nul