Skip to content

Commit

Permalink
Delete stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-kolb committed Jul 13, 2016
1 parent b4b288a commit 67a4885
Showing 1 changed file with 64 additions and 12 deletions.
76 changes: 64 additions & 12 deletions jabref.install4j
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,16 @@
<validation />
<preActivation />
<postActivation />
<actions />
<actions>
<action name="" id="13" customizedId="" beanClass="com.install4j.runtime.beans.actions.misc.RequestPrivilegesAction" enabled="true" commentSet="false" comment="" actionElevationType="none" rollbackBarrier="false" multiExec="false" failureStrategy="1" errorMessage="">
<serializedBean>
<java class="java.beans.XMLDecoder">
<object class="com.install4j.runtime.beans.actions.misc.RequestPrivilegesAction" />
</java>
</serializedBean>
<condition />
</action>
</actions>
<formComponents />
</screen>
</startup>
Expand Down Expand Up @@ -148,22 +157,14 @@
</serializedBean>
<condition>context.getBooleanVariable("sys.confirmedUpdateInstallation")</condition>
</action>
<action name="" id="13" customizedId="" beanClass="com.install4j.runtime.beans.actions.misc.RequestPrivilegesAction" enabled="true" commentSet="false" comment="" actionElevationType="none" rollbackBarrier="false" multiExec="false" failureStrategy="1" errorMessage="">
<serializedBean>
<java class="java.beans.XMLDecoder">
<object class="com.install4j.runtime.beans.actions.misc.RequestPrivilegesAction" />
</java>
</serializedBean>
<condition />
</action>
<action name="" id="184" customizedId="" beanClass="com.install4j.runtime.beans.actions.control.RunScriptAction" enabled="true" commentSet="false" comment="" actionElevationType="elevated" rollbackBarrier="false" multiExec="true" failureStrategy="1" errorMessage="">
<serializedBean>
<java class="java.beans.XMLDecoder">
<object class="com.install4j.runtime.beans.actions.control.RunScriptAction">
<void property="script">
<object class="com.install4j.api.beans.ScriptProperty">
<void property="value">
<string>if (Util.hasFullAdminRights()) {
<string>if (Util.hasFullAdminRights() || Util.isAdminGroup()) {
context.setInstallationDirectory(context.getInstallationDirectory());
} else {
if (Util.isAtLeastWindowsVista()) {
Expand Down Expand Up @@ -398,7 +399,7 @@ return true;</string>
</object>
</java>
</serializedBean>
<condition>Util.hasFullAdminRights()</condition>
<condition>Util.hasFullAdminRights() || Util.isAdminGroup()</condition>
</action>
<action name="PathUnprivileged" id="240" customizedId="" beanClass="com.install4j.runtime.beans.actions.registry.SetRegistryValueAction" enabled="true" commentSet="false" comment="" actionElevationType="elevated" rollbackBarrier="false" multiExec="false" failureStrategy="1" errorMessage="">
<serializedBean>
Expand All @@ -422,7 +423,7 @@ return true;</string>
</object>
</java>
</serializedBean>
<condition>!Util.hasFullAdminRights()</condition>
<condition>!(Util.hasFullAdminRights() || Util.isAdminGroup())</condition>
</action>
</beans>
</group>
Expand Down Expand Up @@ -612,6 +613,57 @@ return true;</string>
</serializedBean>
<condition />
</action>
<group name="Registry" id="284" customizedId="" beanClass="com.install4j.runtime.beans.groups.ActionGroup" enabled="true" commentSet="false" comment="" actionElevationType="elevated">
<serializedBean>
<java class="java.beans.XMLDecoder">
<object class="com.install4j.runtime.beans.groups.ActionGroup" />
</java>
</serializedBean>
<beans>
<action name="PathAdmin" id="282" customizedId="" beanClass="com.install4j.runtime.beans.actions.registry.DeleteRegistryItemAction" enabled="true" commentSet="false" comment="" actionElevationType="elevated" rollbackBarrier="false" multiExec="false" failureStrategy="1" errorMessage="">
<serializedBean>
<java class="java.beans.XMLDecoder">
<object class="com.install4j.runtime.beans.actions.registry.DeleteRegistryItemAction">
<void property="keyName">
<string>SOFTWARE\JabRef</string>
</void>
<void property="onlyIfEmpty">
<boolean>false</boolean>
</void>
<void property="registryRoot">
<object class="java.lang.Enum" method="valueOf">
<class>com.install4j.api.windows.RegistryRoot</class>
<string>HKEY_LOCAL_MACHINE</string>
</object>
</void>
</object>
</java>
</serializedBean>
<condition>Util.hasFullAdminRights() || Util.isAdminGroup()</condition>
</action>
<action name="PathUnprivileged" id="283" customizedId="" beanClass="com.install4j.runtime.beans.actions.registry.DeleteRegistryItemAction" enabled="true" commentSet="false" comment="" actionElevationType="elevated" rollbackBarrier="false" multiExec="false" failureStrategy="1" errorMessage="">
<serializedBean>
<java class="java.beans.XMLDecoder">
<object class="com.install4j.runtime.beans.actions.registry.DeleteRegistryItemAction">
<void property="keyName">
<string>SOFTWARE\JabRef</string>
</void>
<void property="onlyIfEmpty">
<boolean>false</boolean>
</void>
<void property="registryRoot">
<object class="java.lang.Enum" method="valueOf">
<class>com.install4j.api.windows.RegistryRoot</class>
<string>HKEY_CURRENT_USER</string>
</object>
</void>
</object>
</java>
</serializedBean>
<condition>!(Util.hasFullAdminRights() || Util.isAdminGroup())</condition>
</action>
</beans>
</group>
</actions>
<formComponents />
</screen>
Expand Down

0 comments on commit 67a4885

Please sign in to comment.