Log in

View Full Version : InnoSetup question


Kai-Peter
02-13-2003, 01:15 AM
I am using the excellent InnoSetup for creating my installation packets and one problem recently surfaced. The problem is when the user doesn't have access to the "Program Files" folder, which is common in many network environment. The straightforward solution is to use the dialog that lets the user decide place of installation but I would like to do better:

1. Test a number of locations in order (Program Files, User own directory) and automatically install in first that works
2. Pop up the dialog if no suitable directory can be found.

Is this possible using Inno? I haven't figured out how to do it.

freeman
02-13-2003, 05:51 AM
Sorry, no answer but just a thought,
personally I find it very annoying when a program installs itself
automatically in a directory that you canīt change...

Fenix Down
02-13-2003, 05:57 AM
I think he means find a suitable default directory so the user can just hit "next." Most people don't really take time to specify an installation directory. I've seen this myself -- my sister just hits "next" through the whole setup. Of course, the user should definitely be able to change it if he/she wants to.

freeman
02-13-2003, 10:09 AM
Yes I know, but he wrote "...and automatically install in first that works"
and I just wanted to point out that doing it automatically might not be a good idea.

But if I got it all wrong just ignore my posts. :)