| View previous topic :: View next topic |
| Author |
Message |
lior ilan Guest
|
Posted: Thu May 10, 2007 10:47 pm Post subject: Install dir for vista |
|
|
Using Delphi 7 InstallShield Express, How should I set [INSTALLDIR]
parameter ?
Before Vista I used to set it to [ProgramFilesFolder].
Should it now be set to [AppDataFolder] or [CommonAppDataFolder] or
something else ?
Thanks in advance |
|
| Back to top |
|
 |
Bob S Guest
|
Posted: Thu May 10, 2007 11:29 pm Post subject: Re: Install dir for vista |
|
|
"lior ilan" <lior-ilan (AT) winint (DOT) com> wrote:
| Quote: | Using Delphi 7 InstallShield Express, How should I set [INSTALLDIR]
parameter ?
Before Vista I used to set it to [ProgramFilesFolder].
Should it now be set to [AppDataFolder] or [CommonAppDataFolder] or
something else ?
Thanks in advance
See: |
Creating Windows Vista Ready Applications with Delphi Update - January 2007
http://www.installationexcellence.com/articles/VistaWithDelphi/Index.html |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Fri May 11, 2007 12:43 am Post subject: Re: Install dir for vista |
|
|
"lior ilan" <lior-ilan (AT) winint (DOT) com> wrote in message
news:46434c4b (AT) newsgroups (DOT) borland.com...
| Quote: | Using Delphi 7 InstallShield Express, How should I set
[INSTALLDIR] parameter ?
Before Vista I used to set it to [ProgramFilesFolder].
|
You should still be able to install programs to that folder. You just
need admins rights to do so.
| Quote: | Should it now be set to [AppDataFolder] or [CommonAppDataFolder] or
something else ?
|
Those are user-specific folders. Those are where you shoud be storing
data/config files, but there is nothing wrong with putting the program
itself in the ProgramFilesFolder still, if the OS allows it.
Gambit |
|
| Back to top |
|
 |
Larry Maturo Guest
|
Posted: Fri May 11, 2007 3:13 am Post subject: Re: Install dir for vista |
|
|
I'm pretty sure it's not a problem for .msi files, but it might need
elevated privelegs for .exes.
-- Larry Maturo
"Remy Lebeau (TeamB)" <no.spam (AT) no (DOT) spam.com> wrote in message
news:464375b7$1 (AT) newsgroups (DOT) borland.com...
| Quote: |
"lior ilan" <lior-ilan (AT) winint (DOT) com> wrote in message
news:46434c4b (AT) newsgroups (DOT) borland.com...
Using Delphi 7 InstallShield Express, How should I set
[INSTALLDIR] parameter ?
Before Vista I used to set it to [ProgramFilesFolder].
You should still be able to install programs to that folder. You just
need admins rights to do so.
Should it now be set to [AppDataFolder] or [CommonAppDataFolder] or
something else ?
Those are user-specific folders. Those are where you shoud be storing
data/config files, but there is nothing wrong with putting the program
itself in the ProgramFilesFolder still, if the OS allows it.
Gambit
|
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Fri May 11, 2007 3:59 am Post subject: Re: Install dir for vista |
|
|
"Larry Maturo" <lmaturo (AT) imceda (DOT) com> wrote in message
news:46439914 (AT) newsgroups (DOT) borland.com...
| Quote: | I'm pretty sure it's not a problem for .msi files, but it
might need elevated privelegs for .exes.
|
An installer/uninstaller EXE that does not have a suitable manifest to
require admin rights is automatically marked for elevation if it is
run by a lower-privileged user and if the EXE matches the criteria for
Vista's new Installer Detection system.
Gambit |
|
| Back to top |
|
 |
lior ilan Guest
|
Posted: Sun May 13, 2007 3:07 pm Post subject: Re: Install dir for vista |
|
|
The program need to pass the "Certified for Windows Vista" test.
Since program files directory isn't the preffered directory for standart
users,
what InstallShield destination folder should it be ? Mybe [PersonalFolder] ? |
|
| Back to top |
|
 |
Matthew Jones Guest
|
Posted: Mon May 14, 2007 11:26 am Post subject: Re: Install dir for vista |
|
|
I think it would defeat the purpose of restricting access to Program Files
if people then get to install apps in other places. I'd just go with
Program files and let the user have to be an admin so that you don't
defeat any security that may be in place.
/Matthew Jones/ |
|
| Back to top |
|
 |
Malcolm Cheyne Guest
|
Posted: Mon May 14, 2007 4:57 pm Post subject: Re: Install dir for vista |
|
|
I just installed a program on Vista (not my program) and when it ran
it looked for the BDE (which was not installed - new system). I
downloaded and installed the Borland BDE into where ever it defaulted
to and re-ran the original program. It again gave me an error
message. A quick look on the programmers FAQ page for Vista problems
showed the following "Right mouse click on the desktop icon and select
'Run as Administrator' ". This solved the problem. Unfortunately,
the user will have to do this everytime they run the program. I'm
sure he/she will get used to it.
As far as trying to defeat the security that MS has put in place with
Vista, we may be making a rod for our own back. I think MS knows more
about Vista than all of us (at least I hope so )
--
Malcolm
Townsville, Australia
"lior ilan" <lior-ilan (AT) winint (DOT) com> wrote in message
news:46484164$1 (AT) newsgroups (DOT) borland.com...
| Quote: |
there is nothing wrong with putting the program
itself in the ProgramFilesFolder still, if the OS allows it.
The program need to pass the "Certified for Windows Vista" test.
Since program files directory isn't the preffered directory for
standart
users,what InstallShield destination folder should it be ? Mybe
[PersonalFolder] ?
|
|
|
| Back to top |
|
 |
lior ilan Guest
|
Posted: Mon May 14, 2007 5:01 pm Post subject: Re: Install dir for vista |
|
|
| Quote: | there is nothing wrong with putting the program
itself in the ProgramFilesFolder still, if the OS allows it.
The program need to pass the "Certified for Windows Vista" test. |
Since program files directory isn't the preffered directory for standart
users,what InstallShield destination folder should it be ? Mybe
[PersonalFolder] ? |
|
| Back to top |
|
 |
Stephen Quinn Guest
|
Posted: Tue May 15, 2007 3:03 am Post subject: Re: Install dir for vista |
|
|
Malcolm
| Quote: | 'Run as Administrator' ". This solved the problem. Unfortunately, the user will have to do this
everytime they run the program. I'm sure he/she will get used to it.
|
BDE tries to create the file - PDOXUSRS.NET
in the root of C:\ changing the path/parameter via BDEAdministrator would *probably* allow you to
run the app without Admin priviledges on Vista
--
CYA
Steve |
|
| Back to top |
|
 |
|