PDA

View Full Version : Windows 7 installation problem



NewsArchive
07-31-2009, 03:29 AM
I just installed a program onto a Windows 7 machine. After install
completed, I was asked to reboot which I did.

I started the program and found that the old version is still being run.
The new version of the program was not installed.

The installer is CodeSigned. The program is CodeSigned.

Any clue?

Thanks,

Bob

NewsArchive
07-31-2009, 03:31 AM
> I just installed a program onto a Windows 7 machine. After install
> completed, I was asked to reboot which I did.
>
> I started the program and found that the old version is still being run.
> The new version of the program was not installed.

Bob,

I have not run into this - so hopefully others can make some suggestions
why:

However, I use this practice, and have very good success with installs in
Windows 7 - 32 bit and 64 bit - virtual machines.

IF you don't know OR are uncertain if the installer IS Windows 7 compatible
(made specifically to install in Windows 7 release candidate), try the
following:

Highlight install file - setup-example-program.exe

* Right click on file - click on Troubleshoot compatibility - Detecting
Issues - Resolving Issues

* Click on Troubleshoot program - The program worked in earlier versions...
Click on Next button - Highlight Windows Vista - Click on Next Button

* Click on Start the program - Click on Shield icon (install program loads
in taskbar)

* Complete install program first, then - Click on Next - Save these
settings - Close the troubleshooter

Note: since you ARE installing into essentially an upgraded Vista OS, it's
important to use the Troubleshoot program step AND choose - the program
worked in earlier versions - AND choose Vista.

The install troubleshooter in W7 RC - defaults to an XP install to MAKE it
more compatible - that is NOT what you want (in general).

Most install programs will work well using this method.

OF COURSE! The latest SetupBuilder 7 and the latest SetupBuilder 6.9 make
Windows 7 compatible installs.

David

--
From David Troxell - Product Scope 7.8 - Encourager Software
Product Scope 7 Viewer - NO Registration Fee! Free to Use!
http://www.encouragersoftware.com/
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
http://www.profileexchanges.com/blog/

NewsArchive
07-31-2009, 03:31 AM
> I just installed a program onto a Windows 7 machine. After install
> completed, I was asked to reboot which I did.
>
> I started the program and found that the old version is still being run.
> The new version of the program was not installed.
>
> The installer is CodeSigned. The program is CodeSigned.

Hi Bob,

JAT ...are you using the latest build of SetupBuilder?


Charles



--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - "Get ProPath, make your Clarion programs ready
for Windows 7 and Vista!"
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.clarionproseries.com - "Serious tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
07-31-2009, 03:32 AM
Sorry. I should have mentioned that I am using the latest Release
Candidate of Setup Builder. It's very weird because I have another
program that installs without any problem.

Maybe something I'm missing in the script.

Thanks,

Bob

NewsArchive
07-31-2009, 03:32 AM
Bob,

> I just installed a program onto a Windows 7 machine. After install
> completed, I was asked to reboot which I did.
>
> I started the program and found that the old version is still being run.
> The new version of the program was not installed.
>
> The installer is CodeSigned. The program is CodeSigned.
>
> Any clue?

First of all please make sure that your installation requests administrator
execution level privileges and is not an asInvoker installation.

If the installer asked for a reboot, it had to replace locked (in-use)
files. During the reboot process, Windows replaces the "old" files with the
"new" ones. I would suggest to shut-down your application and run the
installer again to see if it really installs the new version of your
program. If this is the case, test it again in a scenario where your
application is active and a reboot is required in order to complete the
installation.

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder is installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
08-01-2009, 01:58 AM
Friedrich,

Changed from Invoker to Administrator and the install now works. Which
is great, but I don't understand how another install works set as Invoker.

Thanks,

Bob

NewsArchive
08-01-2009, 01:59 AM
If the other install "works" asInvoker on Windows 7 or Vista, it means
you're not doing anything that requires elevation.

IOW, you're NOT writing to
c:\program files
c:\windows
HKEY_LOCAL_MACHINE

or a few other areas.

Jane

NewsArchive
08-01-2009, 01:59 AM
Jane,

Both programs are installed in the same areas.

C:\Program Files\xxx

and

CSIDL_APPDATA\xxx

The xxx folder names are different for each program but that's about it.

Anyway, I have changed both installs to the Windows 7 method.

Thanks,

Bob

NewsArchive
08-01-2009, 01:59 AM
Jane,

Well... I spoke/wrote too soon. I just went into the second script and
it was already for administrator.

Which means you are correct.

Thanks,

Bob