Difference between revisions of "KODIP DRGScout 3.0 Testversion"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
 
m
Line 7: Line 7:
 
First the entry for packages.xml:
 
First the entry for packages.xml:
  
<blockquote style="background: white; border: 1px solid black; padding: 1em;">
+
     <package
     <package<br>
+
         id="kodipdrgscout30testversion"
         id="kodipdrgscout30testversion"<br>
+
         name="KODIP DRGScout 3.0 Testversion"
         name="KODIP DRGScout 3.0 Testversion"<br>
+
         revision="1"
         revision="1"<br>
+
         reboot="false"
         reboot="false"<br>
+
         priority="0">
         priority="0"><br>
+
         <check type="uninstall" condition="exists" path="KODIP DRG-Scout 3.0 Testversion" />
         <check type="uninstall" condition="exists" path="KODIP DRG-Scout 3.0 Testversion" /><br>
+
          
         <br>
+
         <install cmd='%SOFTWARE%\DRGScout\drgscout-install.bat'>
         <install cmd='\\server\Admin\MSI\DRGScout\drgscout-install.bat'><br>
+
         <remove  cmd='MsiExec.exe /q /x{7352A94B-A696-11D5-94BB-0050FC27E017}' />
    <exit code="0" /><br>
+
        </install><br>
+
        <br>
+
         <remove  cmd='MsiExec.exe /q /x{7352A94B-A696-11D5-94BB-0050FC27E017}' /><br>
+
 
         <br>
 
         <br>
 
     </package>  
 
     </package>  
</blockquote>
 
  
  
 
This is a batch file which installs KODIP DRGScout 3.0 Testversion and corrects the permission:
 
This is a batch file which installs KODIP DRGScout 3.0 Testversion and corrects the permission:
  
<blockquote style="background: white; border: 1px solid black; padding: 1em;">
+
msiexec /i "%SOFTWARE%\DRGScout\KODIP DRG-Scout 3.0 Testversion.MSI" /q allusers=1 ADDLOCAL=ALL
msiexec /i "\\server\Admin\MSI\DRGScout\KODIP DRG-Scout 3.0 Testversion.MSI" /q allusers=1 ADDLOCAL=ALL
+
cacls %PROGRAMFILES%\drgscout\data /T /E /P Benutzer:f >nul
cacls c:\programme\drgscout\data /T /E /P Benutzer:f >nul
+
</blockquote>
+
 
+
  
[[category:Silent Installers|KODIP DRGScout 3.0 Testversion]]
+
[[category:Silent Installers]]

Revision as of 19:55, 2 October 2006

This is a silent installer and uninstaller for KODIP DRGScout 3.0 Testversion.

KODIP DRGScout 3.0 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="kodipdrgscout30testversion"
       name="KODIP DRGScout 3.0 Testversion"
       revision="1"
       reboot="false"
       priority="0">
       <check type="uninstall" condition="exists" path="KODIP DRG-Scout 3.0 Testversion" />
       
       <install cmd='%SOFTWARE%\DRGScout\drgscout-install.bat'>
       <remove  cmd='MsiExec.exe /q /x{7352A94B-A696-11D5-94BB-0050FC27E017}' />
       
</package>


This is a batch file which installs KODIP DRGScout 3.0 Testversion and corrects the permission:

msiexec /i "%SOFTWARE%\DRGScout\KODIP DRG-Scout 3.0 Testversion.MSI" /q allusers=1 ADDLOCAL=ALL cacls %PROGRAMFILES%\drgscout\data /T /E /P Benutzer:f >nul