[Psi-devel] Re: windows installer comment
michalj at poczta.neostrada.pl
Wed Aug 10 13:14:23 PDT 2005
Robert Martinez wrote:
> I'm with Mircea here.
> Installing Psi has to be easier than dropping a pencil.
> Every click counts.
That's why there are still so many Gadu-Gadu users in Poland ;)
Mircea Bardac wrote:
> * depending on the rights of the user on the machine, the installer will
> automatically set the scope of the shortcuts:
> - all users, if user.isAdmin()
> - current user, if !user.isAdmin()
I usually use almost the same algorithm in my NSIS installers:
- current user, if !user.IsAdmin
- ask user whether to install for current user or for all users, with
all users as default, if user.IsAdmin
BTW: Mircea, did You know that Windows NT line supports uninstall
information in both HKLM and HKCU registry hives? This may be used for
storing information whether application was installed for current user
(=> uninstall must look for application shortcut in current user's
startup folder) or for all users (=> uninstall must look for application
shortcut in all users' startup folder).
Michał Jazłowiecki (michalj)
Psi Forum Moderator
Psi Tester & Patcher
More information about the Psi-devel-affinix.com