patriculus
3rd April 2011 21:48 UTC
Urgent help needed...Please
Hello guys...am creating a installer for a product where it has both 32bit and 64bit files. Most of the files are same but there are specific files for 32bit and 64bit OS. So I want to create an installer where the user has to select either 32bit or 64bit (as radio buttons) so that only the appropriate files will be installed. Please help me as it is really urgent. If there is any kind of plugin or something please share the link.
Thank you
msroboto
4th April 2011 02:00 UTC
Do you really want to ask or just detect that you are on a 64-Bit OS?
look up x64.nsh
http://nsis.sourceforge.net/Include/x64.nsh
patriculus
4th April 2011 05:59 UTC
I want to make the user select a choice. For eg: After license agreement page i want the installer to show a page with two choices. ie: "Install as 32" and "Install as 64" (Radiobuttons). So if the user selects 32 or 64 then it will install 32bit or 64bit files.
T.Slappy
4th April 2011 07:04 UTC
Create such page using nsDialogs: use RadioButton for your two options and then save the selection in your variable
MSG
4th April 2011 08:24 UTC
(If you application really requires the correct version to be installed for the specific OS, you shouldn't let the user choose. Most people have no idea whether they have a 32-bits or 64-bits OS.)
Afrow UK
4th April 2011 12:35 UTC
You could also skip the selection page if the OS is not 64-bit. Call Abort in the page's Pre function.
Stu
patriculus
8th April 2011 19:04 UTC
sorry for the delayed message...Thank You so much people..