Changeset ba3f467


Ignore:
Timestamp:
Jun 14, 2011 10:04:57 PM (9 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
d56f9c7
Parents:
1a52363
Message:

Windows Uninstall the service if I2P is installed, whether the service was enabled by the installer or not.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • installer/install.xml

    r1a52363 rba3f467  
    197197            <executable targetfile="$INSTALL_PATH/postinstall.sh" type="bin" stage="postinstall" keep="true" failure="warn"><os family="unix" />
    198198                <args><arg value="$INSTALL_PATH" /></args></executable>
     199            <!--
     200             Removal of the I2P service in Windows should be done in the base pack
     201             so that even if a user installed the service manually it will still be
     202             removed when uninstalling.
     203            -->
     204            <executable targetfile="$INSTALL_PATH/uninstall_i2p_service_winnt.bat" stage="uninstall" os="windows">
     205                <args>
     206                    <arg value="$INSTALL_PATH\wrapper.config" />
     207                    <arg value="--nopause" />
     208                </args>
     209            </executable>
     210
    199211
    200212        </pack>
     
    218230                </args>
    219231            </executable>
    220             <executable targetfile="$INSTALL_PATH/uninstall_i2p_service_winnt.bat" stage="uninstall" failure="warn" keep="true">
    221                 <args>
    222                     <arg value="$INSTALL_PATH\wrapper.config" />
    223                     <arg value="--nopause" />
    224                 </args>
    225             </executable>
    226232        </pack>
    227233    </packs>
Note: See TracChangeset for help on using the changeset viewer.