Archive: Urgent help needed...Please


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


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


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.


Create such page using nsDialogs: use RadioButton for your two options and then save the selection in your variable


(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.)


You could also skip the selection page if the OS is not 64-bit. Call Abort in the page's Pre function.

Stu


sorry for the delayed message...Thank You so much people..