Is there any interference if I run two instances of the same installer simultaneously?

I created a single installer to support two editions, free and full edition. The logics are exactly same expcept in the postinstallation_actions, I have the following for free edition:

<addTextToFile>
  <file>${installdir}/myapp_free/.awe</file>
  <text>
  </text>
  <ruleList>
    <compareText>
      <logic>equals</logic>
      <text>${product_key}</text>
      <value>myapp_free</value>
    </compareText>
  </ruleList>
</addTextToFile>

They install to different directories, so files are not overwriting each other. The product_key is passed in on command line. If I run them sequentially, I can see the new file is there in free edition. If I run them simultaneously (one is full, one is free), the new file is not there in free edition, the rest of files are identical.

asked 17 Dec '12, 15:25

gt8967884's gravatar image

gt8967884
116747678
accept rate: 12%


if they install to different locations, one should not affect the other (if you are installing on Windows you will also need to set different registry prefixes, but that should not affect writing the file). Could you send us both projects to support@bitrock.com

link

answered 18 Dec '12, 03:27

juanjo's gravatar image

juanjo ♦♦
5.8k413
accept rate: 23%

This is a bug in my code. Actually no interference.

link

answered 20 Dec '12, 22:25

gt8967884's gravatar image

gt8967884
116747678
accept rate: 12%

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:

×2

Asked: 17 Dec '12, 15:25

Seen: 794 times

Last updated: 20 Dec '12, 22:25