(Not logged on) | Register | Log On

You can subscribe to this discussion group using an RSS feed reader. The Business of Software

A community discussing the business of software, from the smallest shareware operation to Microsoft. A part of Joel on Software.

This community works best when people use their real names. Please register for a free account.

Links:

» Joel on Software discussion
» Business of Software discussion
» Business of Software FAQ
» Business of Software Wiki
» Forum guidelines (Please read before posting!)

Movie:

"Make Better Software" is a 6 movie course designed to help you as you grow from a micro-ISV to a large software company.
Part 1: Recruiting
Part 2: Team Members
Part 3: Environment
Part 4: Schedules
Part 5: Lifecycle
Part 6: Design

Moderators:

Eric Sink
SourceGear

Bob Walsh
Founder, StartupToDo.com Author of The Web Startup Success Guide and Micro-ISV: From Vision To Reality

Patrick McKenzie
Bingo Card Creator

Andy Brice
Successful Software

Vista wont allow program files\appname.exe to be updateed

Hi Guys,

I have inno setup for my app..

I try to install over the previous version.. and I get an error saying unable to replace the exe app file.


is it vista blocking the file delete / update?

How do I work around this?
Security
Wednesday, June 06, 2007
 
 
Unless you've done something prosaic, like trying to copy over a program which is locked because its running, you are probably running into the UAC.  Set your installer to run as administrator.
Patrick McKenzie (Bingo Card Creator) Send private email
Wednesday, June 06, 2007
 
 
Make sure the name of the exe that updates your application contains either "update" or "setup", an example of that is "appnameupdate.exe" or "app_update.exe"

We previously used a random name for the updater, and had the same problems.
Totally Agreeing
Thursday, June 07, 2007
 
 
TOTALLY AGREEING:
Can you explain this further?

What problem does this solve? (Vista UAC?)
Mr. Analogy Send private email
Thursday, June 07, 2007
 
 
What problem does this solve? (Vista UAC?)

Vista looks for hints that the executable might be a setup prgram, like looking at the name or some resource srtings. If it finds them it assumes you need to run in elevated mode and so pops up the UAC dialog.

You can control this behaviour with a manifest as well.
Tony Edgecombe Send private email
Thursday, June 07, 2007
 
 
I use InnoSetup (fantastic program) and haven't had any issues on Vista. I may be wrong, but I think it already contains the manifest required to launch it as a UAC admin user. Either way, I never had problems with InnoSetup on Vista, so maybe you are using an old version or simply doing something wrong?

Also, a small plug for an auto-update solution that will work on Vista after your setup is well and truly done. Here is our info on some Vista issues you may encounter:
http://www.AutoUpdatePlus.com/FiveReasons.html
Simon Send private email
Friday, June 08, 2007
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz