Installation runs again when a different user logs on

P

pmagnette

Hello,

I mad an installation of a self programmed software(vb) with
administrator rights, and it works fine.

When another user logs on the PC, and starts the program, a piece of
installshield runs gain, and then my programs runs well.

I wonder why this "second" installation comes from ? Where can I
check ?

Cheers
 
S

Sharon F

Hello,

I mad an installation of a self programmed software(vb) with
administrator rights, and it works fine.

When another user logs on the PC, and starts the program, a piece of
installshield runs gain, and then my programs runs well.

I wonder why this "second" installation comes from ? Where can I
check ?

Cheers

The installer is running again to add application related items for each
user: registry entries, perhaps a folder in their Application Data folder,
etc.

When an application is installed with the MS Installer (.MSI), the
programmer can take advantage of some of the functions this mechanism
offers. "Repair" options, for example. If you search for "installer" on
your hard drive, you'll find folders that the MS installer uses to maintain
programs. Most will have long ID numbers as names but a peek inside will
show a handful of files for various applications.
 
P

PaddyBob

Hi there,

Just a quick question: is this "piece of installation" as you call it,
always running as soon as you try to use the program in another user than
administrator?

If the answer to that is "no", then you've probably created a program which
is writing it's registry settings to the Current user and not to the All
local users. If this application you're using, is using profiles/localized
settings, then it's kinda logical it does that, as every separate user will
be able to set his/her own settings. In this case the application must
partly re-install itself with every new user logging on, as the per user
settings are stored in the HKEY\Current User, which is a different hive for
every user.

I hope this helped you. Let me know...

Cheers,

Robert
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top