[2005] Setup Project Installer only install with Specific Operating Systems.
How can I make my project installer only (Setup Project) install if specific operating system conditions are met..
For example, I know my program doesn't work on Windows 98, what happens if someone installs on it? I need it to automatically say 'Invalid operating system' or some error, and list the operating systems supported...
Re: [2005] Setup Project Installer only install with Specific Operating Systems.
You should look into Launch Conditions. You add them to your Setup project and the installer will refuse to lauch if the specified condition is not met.
Re: [2005] Setup Project Installer only install with Specific Operating Systems.
You need an installer that will detect the OS. I spent about 6 hours a few days ago looking at installers. Had to find one that would detect the OS, installers admin rights, path to data folders, detect if a folder exists and optionally create a folder if it does not. Also checked vendors response times to emails. also the setup screens need to be able to add my own graphics. also had to be able to install shortcuts and also check if the files i am installing are newer and then the option to add them or not.
I finally bought this one $70.00 http://www.gdgsoft.com/pb/index.aspx and i gotta say it works good
Waiting for a full featured smart phone with out marrying a provider
Go Android
Go raiders
Re: [2005] Setup Project Installer only install with Specific Operating Systems.
Originally Posted by Icyculyr
Whats VSI 1.1?
And I would appreciate if you told me how exactly I do that? or perhaps point me in a good tutorial for launch conditions.
Thanks
He means VS.NET 2003 (.NET 1.1) Installer projects. If you don't know by now that you can search for launch conditions on MSDN then something is seriously wrong.
Re: [2005] Setup Project Installer only install with Specific Operating Systems.
Originally Posted by dilettante
Actually I meant Visual Studio Installer 1.1, for use with VB6. I assumed that later VS Installer Projects are even more liberal feature-wise.
Ah, incorrect assumption on my part. Launch conditions are a Windows Installer feature and have been supported by VS.NET Setup projects since at least 2003. Probably 2002 as well, if they were supported pre-.NET.
Re: [2005] Setup Project Installer only install with Specific Operating Systems.
So, do I check what the operating system is via the registry?
(and >>jm, I have looked at the local help on my computer, I didn't understand any of it really)
Can you tell me what registry values to look for?
Cheers
Last edited by Icyculyr; Mar 26th, 2008 at 07:00 PM.
Re: [2005] Setup Project Installer only install with Specific Operating Systems.
You'll probably want a Launch Condition expression similar to:
Version9X > 410 Or VersionNT >= 400
This would allow WinMe and NT 4.0 or later. Or maybe:
VersionNT >= 500
This would exclude all Win9X versions and only allow Win2K or later.
I'd expect that the syntax hasn't changed, but I'm not creating .Net deployments so I wouldn't know. I assume there is a toolbar button or menu selection to bring up the Launch Conditions dialog where you enter these expressions. Back in VSI 1.1 they were added on a tab within the Project Properties dialog.