![]() |
|
|
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
So who's the moron again?
Jeff Slarve www.jssoftware.com www.twitter.com/jslarve This post may self-destruct at any moment |
|
#3
|
|||
|
|||
|
<G>
Ray Rippey |
|
#4
|
|||
|
|||
|
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 |
|
#5
|
|||
|
|||
|
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 |
|
#6
|
|||
|
|||
|
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 Last edited by NewsArchive; 05-22-2012 at 12:43 AM. |
|
#7
|
|||
|
|||
|
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 |
|
#8
|
|||
|
|||
|
Ed,
%_CSIDL_PROGRAM_FILES% represents the "Program Files" folder. Friedrich |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|