Old 5th August 2011, 16:39   #1
Ron.Stordahl
Member
 
Join Date: Oct 2005
Location: Minnesota
Posts: 57
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?

Ron Stordahl
Ron.Stordahl is offline   Reply With Quote
Old 5th August 2011, 16:52   #2
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,892
You can create custom pages using nsDialogs. There's an excellent readme in the nsDialogs readme: http://nsis.sourceforge.net/Docs/nsDialogs/Readme.html
MSG is offline   Reply With Quote
Old 5th August 2011, 18:15   #3
Ron.Stordahl
Member
 
Join Date: Oct 2005
Location: Minnesota
Posts: 57
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?

Ron Stordahl
Ron.Stordahl is offline   Reply With Quote
Old 5th August 2011, 19:05   #4
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,892
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.
MSG is offline   Reply With Quote
Old 5th August 2011, 20:42   #5
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,927
Quote:
Originally Posted by Ron.Stordahl View Post
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...

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Tags
mui2, vista, windows 7

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump