PDA

View Full Version : I need help stopping Morons during install



NewsArchive
05-16-2012, 02:07 AM
For some reason in the last few weeks we've had 3 people download our demo
and install the program to the desktop... of course, all of our files show
up all over the desktop and people get ticked and won't even talk to us.

So... what can I do to prevent this from happening? I usually install to the
c:\vmtvid folder. (Yes I know about the correct places.. but this works for
us for now).

I want them to be allowed to change where the program is installed to... but
prevent them from installing to the desktop or any other stupid places...
right now the desktop being the worst of course. It's easy to do when they
click on change and just select the top selection in the directory listing..
which is desktop.

Thanks,

--
Ray Rippey
VMT Software - http://www.vmtsoft.com

NewsArchive
05-16-2012, 02:08 AM
So who's the moron again?

Jeff Slarve
www.jssoftware.com
www.twitter.com/jslarve
This post may self-destruct at any moment

NewsArchive
05-16-2012, 02:09 AM
<G>

Ray Rippey

NewsArchive
05-16-2012, 02:09 AM
AnyDrive:\vmtvid folder
Just be sure to not let them change the Folder


--
Dan Scott
Using C6.3 Legacy - C8 for Prestige Only
Garage Partner Pro / Invoice Partner
www.garagepartner.com
Plan A is always more effective when the device you are working on
understands that Plan B involves a larger hammer

NewsArchive
05-16-2012, 02:10 AM
Do what we do, we allow only a choice of drives. We control the paths
from there. Not one complaint and this has survived folks who have to
ask about how to turn on their machines.

--

Russ Eggen
RADFusion International, LLC

NewsArchive
05-16-2012, 08:34 AM
Ray,

> So... what can I do to prevent this from happening?

What you can do is to "validate" the destination folder. Similar to the
following (see attached screenshot and demo project).

http://www.lindersoft.com/projects/AvoidDesktop.zip

Friedrich

NewsArchive
05-22-2012, 12:43 AM
Similarly I would like to prevent users from installing to the root of
program_files in any version of windows. I have had some morons install
there and then forget to place it in a folder underneath program_files so it
pollutes that entire folder.

Which variable would I use to identify the program files folder on any given
windows version:
%_csidl_common_programs%
%_csidl_programs%
%_csidl_program_files%
%_csidl_program_files_commom%

Regards,

Ed

NewsArchive
05-22-2012, 12:43 AM
Ed,

%_CSIDL_PROGRAM_FILES% represents the "Program Files" folder.

Friedrich