PDA

View Full Version : Select Drive



NewsArchive
10-20-2010, 01:47 AM
Is there anyway to limit the browse for folder to only select a drive or
a browse for drive function?

I want my install to only install off the root of any drive in the
folder MyProgramName.


Thanks

Eddie Sizemore

NewsArchive
10-20-2010, 01:48 AM
> I want my install to only install off the root of any drive in the
> folder MyProgramName.

Hi Eddie,

That is really NOT a good idea.

In Windows 7 it is possible to have group policies in place on a computer
that prohibit programs from executing unless they are installed into a
protected area (such as Program Files). If your app is installed onto such
a computer, it will simply fail to run.

If your trying to limit the install to a root folder so as to avoid having
to make your program UAC compliant (with regards to manifesting and where
data resides), your really taking chances.

Making a program UAC compliant is not really an option any longer.

Just some friendly advice...

:-)

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
10-20-2010, 01:49 AM
Hi Charles,

Thanks for the advice.

This is a special case. We are installing the software on a couple
hundred laptops for a user conference and some of the computers may have
the live version of our software on them which we need to insure we do
not overwrite. Also if the are any issues it will help if all installs
are in the same place.


Eddie Sizemore

NewsArchive
10-20-2010, 01:49 AM
> This is a special case. We are installing the software on a couple
> hundred laptops for a user conference and some of the computers may have
> the live version of our software on them which we need to insure we do
> not overwrite. Also if the are any issues it will help if all installs
> are in the same place.

I understand and in this case it does make sense.

I just didn't want to see you shoot yourself in the foot<g>.

:-)

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
10-20-2010, 01:51 AM
Eddie,

> Is there anyway to limit the browse for folder to only select a drive or
> a browse for drive function?
>
> I want my install to only install off the root of any drive in the
> folder MyProgramName.

See "Combo Box 2.sb7" demo project and "Learning SetupBuilder Part I" manual
as an example on how to enumerate drives.

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

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

-- Official Comodo Code Signing and SSL Certificate Partner