Ron.Stordahl
5th August 2011 16:39 UTC
MUI2 features needed for Vista/Windows 7
Perhaps what I am seeking is already available, but I am unaware of it.
I want to be able to have my installer suggest the program install location, that feature is already part of MUI_DIRECTORYPAGE..., however I also want to on that same page ideally to suggest a location for user files. Currently I have been offering just, as a default, c:\program files\bpq32 for everything, but for Vista/Windows 7 of course I will split the files into program files and user data files, the later likely $APPDATA\bpq32.
Secondly I would like to offer the choice to the user of installing for 'all users' or for 'current user'.
Hopefully macros are already available to easily do these things?
MSG
5th August 2011 16:52 UTC
You can create custom pages using nsDialogs. There's an excellent readme in the nsDialogs readme: http://nsis.sourceforge.net/Docs/nsDialogs/Readme.html
Ron.Stordahl
5th August 2011 18:15 UTC
Thanks..but I was hoping to save precious time by finding the needed pages ready made. If I have to I will of course do as you suggest. Hopefully someone reading this may have what I want or know where to get it.
Or where might I look for something a user may have submitted?
MSG
5th August 2011 19:05 UTC
Well, for the second directory, you can just add a second DIRECTORY page. Use MUI_DIRECTORYPAGE_VARIABLE.
Making a custom page for alluser/single install is easy. Following the tutorial will get you most of the way.
Anders
5th August 2011 20:42 UTC
Originally posted by Ron.Stordahl
but for Vista/Windows 7 of course I will split the files into program files and user data files
This problem exists on every version of NT, not just NT6, you are just not testing as non-admin...