Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Shared component being deleted


4 replies to this topic

RayKode

RayKode
  • Full Members
  • 58 posts

Posted 16 August 2012 - 17:52

Hello evenyone.
I'm a bit confused and would appreciate some advice on an issue I'm having.

Installshield professional 2012 spring.
Basic MSI
XP


My application is installed "per user".
The component's "file" is set as a "key" file.
The component's "Shared" property is set to "Yes".

I log on as User1 and run the application.
The file is installed and a SharedDlls reference count is set to "1". (A GOOD thing.)
I log off.

I log on to the same pc as User2.
I install the application.
The SharedDlls reference count is increased to "2". (A GOOD thing.)
I log off.

I log back on as User1.
I uninstall the application.
The SharedDlls reference count is decremented to "1". (Another GOOD thing.)

BUT the installed file, is removed when User1 uninstalls the application.

My goal is to have the installed file stay on the pc until the last user uninstalls the application.

Any idea what I might do to fix my [problem ?

Thanks in advance.

Ray in Wisconsin



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 16 August 2012 - 22:20

Is the file installed in the same location by both users?

RayKode

RayKode
  • Full Members
  • 58 posts

Posted 17 August 2012 - 13:21

Thanks for your reply.

Yes sir, it is.

C:\testfile.txt
For now.
But as soon as I get this working, I intend to use a different file installed into a different location.




Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 17 August 2012 - 16:19

Very strange. Maybe a log file could give any hints what's going on.

RayKode

RayKode
  • Full Members
  • 58 posts

Posted 23 August 2012 - 18:15

I wanted to update this issue as things "changed" some on our part.

As it turns out, I was unable to figure out my issue.

But, it's not all bad news.

I was able to successfully lobby the developers of this new application, to allow me to install it on a “per machine” basis.

Thanks for considering my issue and for your reply.

Case closed.

Take care.

Ray in Wisconsin