Why does update setup 2 runonce entries (All users and Me)

Got a problem you cannot solve? Try here.
gsaunders
Posts: 81
Joined: Mon Aug 16, 2010 2:37 pm

Why does update setup 2 runonce entries (All users and Me)

Postby gsaunders » Wed Aug 25, 2010 8:14 am

When enabling the default "Schedule updates" I see the installer creates two run once registry entries.

When I manually run them one will fail (just me) and the other works (all users). Why is it doing it two times?

Shouldn't it know how the application is setup and ONLY do the registry entry for either All Users or Just Me?

I know I can add code to do this, but shouldn't it handle this by default????

mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: Why does update setup 2 runonce entries (All users and M

Postby mills » Wed Aug 25, 2010 3:02 pm

I'd just like to make sure what you're doing, because you mention both scheduling updates and manually running them.

On the Project properties page, did you choose Manual update checking or Schedule updates?
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.

gsaunders
Posts: 81
Joined: Mon Aug 16, 2010 2:37 pm

Re: Why does update setup 2 runonce entries (All users and M

Postby gsaunders » Wed Aug 25, 2010 3:35 pm

In this test I am doing scheduled updates.

I see two entries in the HKCU run once location.

I was just saying that if I took both key values and ran them individually one fails and the other doesn't. I just wanted to manually see what those entries were going to do.

So it is a scheduled update in this test. Just wondering why it put two entries in the run once. One for All Users and one for Just Me. It should just put the correct one in there shouldn't it?

tofutim
Posts: 176
Joined: Thu Mar 01, 2012 1:16 pm

Re: Why does update setup 2 runonce entries (All users and M

Postby tofutim » Wed Sep 24, 2014 5:03 pm

We just ran into this as well. Any insight?

tofutim
Posts: 176
Joined: Thu Mar 01, 2012 1:16 pm

Re: Why does update setup 2 runonce entries (All users and M

Postby tofutim » Thu Sep 25, 2014 12:07 pm

2014-09-25_1131.png
2014-09-25_1131.png (51.34 KiB) Viewed 6233 times


Here is the offending (?) code. Looks like it is trying to upgrade both the all users and me.

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Why does update setup 2 runonce entries (All users and M

Postby FrancescoT » Fri Sep 26, 2014 11:54 am

Let me check it!

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: Google [Bot] and 172 guests