PDA

View Full Version : Failure installing to Windows 98



NewsArchive
04-22-2008, 01:54 AM
Sorry about this, Friedrich.. but some recalcitrant franchisees of my
biggest client have *still* not moved to a real version of Windows.. and
there are W98 and even W95 machines out there (in addition to XP and Vista,
of course)

My first upgrade using SetupBuilder has just gone out to this bunch.. and we
have big, apparently reprodiuceable probems installing to W98/95:
Items intended for: "%_CSIDL_PROGRAM_FILES%\[PRODUCTNAME]"
are ending up in "Windows\"PrintHood" !!

All is well in XP, of course

I have attached a script file.. maybe I've not followed correct protocol...
or maybe there's a wee bug - can you advise?

Steve

NewsArchive
04-22-2008, 01:55 AM
> Sorry about this, Friedrich.. but some recalcitrant franchisees of my
> biggest client have *still* not moved to a real version of Windows.. and
> there are W98 and even W95 machines out there (in addition to XP and
> Vista,
> of course)
>
> My first upgrade using SetupBuilder has just gone out to this bunch.. and
> we
> have big, apparently reprodiuceable probems installing to W98/95:
> Items intended for: "%_CSIDL_PROGRAM_FILES%\[PRODUCTNAME]"
> are ending up in "Windows\"PrintHood" !!
>

AFAIK the CSIDL values rely on the presence of the Windows Shell32.dll (or
similar) v5.0 or later which contains the shell folder functions e.g.
SHGetFolderLocation:

http://msdn2.microsoft.com/en-us/library/bb762180(VS.85).aspx

Your end users will need Win98 SE or later unless IE Explorer 5.0 or later
has been installed:

http://msdn2.microsoft.com/en-us/library/bb776779(VS.85).aspx

I guess you could try supplying the missing DLL but that might just be
asking for more problems ...

--
Chris Burrows
CFB Software
http://www.cfbsoftware.com/cp

NewsArchive
04-22-2008, 01:56 AM
So - what to do?
Hard-wire the path?

Steve Bywaters

NewsArchive
04-22-2008, 01:57 AM
> So - what to do?
> Hard-wire the path?

If you detect that old of a version, then yes, preset the path where you
think it should be and allow the user the option of changing it if need be.

That should be simple enough and it gives you the opportunity to add a
smart comment like: "Since your running the computer that Noah had on the
ark we have pre-selected a install path for you that is down next to the
rest of the horses behinds..."

;-)

Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.clarionproseries.com - "Serious imaging 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
04-22-2008, 01:57 AM
Hi Steve,

>So - what to do?
>Hard-wire the path?

I would set a variable to the %_CSIDL_PROGRAM_FILES% and check the
contents. I would presume it's empty if it fails. If it's empty, the
force the user pick a folder. Might work:)

Best regards,

ArnĂ³r Baldvinsson
Icetips Creative, Inc.
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
04-22-2008, 01:58 AM
> So - what to do?
> Hard-wire the path?
>

Maybe you can use the predefined {PROGRAMFILESDIR} or %PROGRAMFILESDIR%
variables? (I'm guessing they use a different mechanism than the special
folders to determine the paths).

If I were you I'd warn your customers that if they don't upgrade their
Windows to XP quickly (i.e. by the end of June 2008), when they eventually
do have to upgrade they may not have any choice but to go to Vista. That
should be a sufficient motivation to move quickly. ;-)

Chris Burrows
CFB Software
http://www.cfbsoftware.com/cp

NewsArchive
04-22-2008, 01:59 AM
> So - what to do?
> Hard-wire the path?

I would suggest to use the %PROGRAMFILESDIR% variable in your case. This
should hold the correct value even on Windows 95.

Friedrich

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

"point. click. ship" - that's SetupBuilder 6.7
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner