check for updates shortcut

Got a problem you cannot solve? Try here.
alexzakharov
Posts: 26
Joined: Thu Jun 22, 2006 5:50 pm

check for updates shortcut

Postby alexzakharov » Wed Jul 05, 2006 6:10 pm

Hi,

I have a bit of an odd problem. Any help would be much appreciated.

I want to create a shortcut (right next to unistall) to check for updates. So, I go ahead and do just that - basically a shortcut to $UNINSTALLLINK$ /update.

I run the installer fine. The shortcut is created. However the very first time I try to run it - XP brings up a window saying "which user account do you want to use to run this program"? If I proceed - nothings happens. But either way whether I proceed or cancel - the next time I try to run my shortcut - that window no longer pops up - and updates behave as expected. [Notably, after the first time i run the shortcut, the icon next to the shortcut also changes from some odd windows icon to IA's normal shortcut icon]

I searched some news groups on the web and on installaware - sounds like it has something to do with XP's Run As feature. Somebody on IA suggested specfiying a startup folder for the shortcut. I did - and it didn't help.

Finally I created another shortcut - "bogus" which simply points to $UNINSTALLLINK$ and it worked just fine...

Anyway - how do I avoid the annoying "which user account do you want to use to run this program" popup the very first time i try to check for updates from a shortcut??

Much thanks

Alex

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Wed Jul 05, 2006 7:11 pm

Could you paste the exact shortcut command here from the clipboard?

Are you specifying /update as part of the "Shortcut to File" section of the Create Shortcut command, or in the "Command Line Parameters" section?

It sounds to me like the former, which would explain why Explorer is getting confused, the icons are changing, etc...
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

alexzakharov
Posts: 26
Joined: Thu Jun 22, 2006 5:50 pm

Postby alexzakharov » Thu Jul 06, 2006 9:29 am

Michael,

It is actually the latter, as I'm passing the /update as command line parameter not as part of executable.

So, once the program is installed the shortcut properties' target is this string
"C:\\Documents and Settings\\All Users\\Application Data\\{429DB6F8-3208-483D-BE3E-F24D3BA6BF07}\\IA4_1.10.exe" /update

When I define the shortcut within IA's IDE I use the following:
Shortcut to File: $UNINSTALLLINK$
Command Line Parameters: /update

as a side note i did a search on google and looks like old versions of installshield had similar problem:
http://community.macrovision.com/archiv ... 51770.html

in general if you do a search for "which user account do you want to use to run this program" you get a whole bunch of hits...

I'm running XP pro, SP2

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Thu Jul 06, 2006 5:19 pm

That's pretty odd.

We have an applet here that displays the command line parameters its been called with.
I created a setup for it, and tried the /update and /updatesetup parameters. I didn't get a "Run As" dialog.

Ditto for $UNINSTALLLINK$.
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

Tinus
Posts: 207
Joined: Tue Jun 20, 2006 8:42 am
Location: Germany

Postby Tinus » Fri Jul 07, 2006 1:12 am

Hi,

in my project I have the exact same shortcut and have not experienced any problem so far.

Shortcut to file:
$UNINSTALLLINK$

Command Line Parameters:
/update

Have you used any advertised elements?

And what happens if you first open the shortcut, click Advanced and check for "Run with different credentials"?
Martin Rothschink
InstallAware MVP

AxoNet Software GmbH
http://www.axonet.de/products/other-pro ... stallaware


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 231 guests