How to avoid running multiple instances of the installer

asked 14 Sep '11, 05:47

Jake's gravatar image

Jake ♦♦
826222226235
accept rate: 98%


You can do so by enabling the following in your project file

<singleInstanceCheck>1</singleInstanceCheck>

Alternatively, you can do the following:

<preInstallationActionList>
  <throwError>
     <text>Customized error</text>
     <ruleList>
         <singleInstanceCheck logic="is_running" />
     </ruleList>
  </throwError>
</preInstallationActionList>
link

answered 14 Sep '11, 05:48

Jake's gravatar image

Jake ♦♦
826222226235
accept rate: 98%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×155
×8
×5
×4

Asked: 14 Sep '11, 05:47

Seen: 1,128 times

Last updated: 14 Sep '11, 05:48