Problem with installing software

R

Ragnar Midtskogen

Hello,

I have written an Access 2000 application and created setup files for it.
It has worked well for many years and thousands of installations, but there
is a problem with Vista machines.
The setup is done by using two setup files. The first one installs an older
version of the application along with all the support files such as dlls,
image files etc.
The second installation just installs a new version of the application.
The first time the application is used the updated version is used. After
that the application reverts to the back level version.
Any ideas on why?
I have a notion this has something to do with the way Vista deals with
legacy applications or maybe permissions for users.

Any help would be appreciated.

Ragnar
 
B

BirgerH

Hello Ragnar.

Be sure, that the extension association is pointing to the right version.
When you double-click a database, the association determine which one will
start.

In Vista you have to choose the application by using controlpanel>>Standard
Programs>>Associate a filetype or protocol to a program, and then chanching
the program.

I guess there will be some mixed up in he registry too, by having two
different versions of the same Access2000 at the same time - folders
references by example.

My advice - get rid of the old version.
 
B

BirgerH

Sorry.
Didn't see, it was an application you were installing twice, thought it was
the Access2000.
Wouldn't be much helpful then.
Again sorry.
 
R

Ragnar Midtskogen

Thanks anyway Birger,

I would think that the update installation would overwrite the old version,
but apparently not. That happened in Win 2000 and XP.
I have asked the client to try to get hold of the installation log, it might
have some clues

Ragnar
 
S

Synapse Syndrome

Ragnar Midtskogen said:
Thanks anyway Birger,

I would think that the update installation would overwrite the old
version, but apparently not. That happened in Win 2000 and XP.
I have asked the client to try to get hold of the installation log, it
might have some clues


Just a guess, but when you install the second app, the first time, the
installer wants to run as Admin (elevated), yes?

And as UAC is active, it will not allow an old app that does not use user
profiles properly, to be installed in Program Files. UAC does not allow a
program to write to Program Files, and so it is installed in your user
profile instead. I am not using [crappy] Vista right now, so I cannot tell
you exactly where your program might have been installed, but there is a
place where these old user %appdata% unaware programs get installed.

So, the second time you run the program, it runs in your normal user
account, rather than as admin, and that user account knows nothing about
your program.

Does this seem correct?

ss.
 
R

Ragnar Midtskogen

Thanks,,

Yes, I spoke to support at SageKey, who supplied the runtime script I am
using, and they confirmed that this is a UAC problem.
They have an update to their script which will make the installation Vista
compatible.

Ragnar

Synapse Syndrome said:
Ragnar Midtskogen said:
Thanks anyway Birger,

I would think that the update installation would overwrite the old
version, but apparently not. That happened in Win 2000 and XP.
I have asked the client to try to get hold of the installation log, it
might have some clues


Just a guess, but when you install the second app, the first time, the
installer wants to run as Admin (elevated), yes?

And as UAC is active, it will not allow an old app that does not use user
profiles properly, to be installed in Program Files. UAC does not allow a
program to write to Program Files, and so it is installed in your user
profile instead. I am not using [crappy] Vista right now, so I cannot
tell you exactly where your program might have been installed, but there
is a place where these old user %appdata% unaware programs get installed.

So, the second time you run the program, it runs in your normal user
account, rather than as admin, and that user account knows nothing about
your program.

Does this seem correct?

ss.
 

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