We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Launch condition missing for Windows Server 2008

Hi,

we try to follow Microsoft's recommendations and only run only on OSes which are still supported by MS (this also means, that we will discontinue support for XP next year). I tried to set the same rules in our installer as Launch Conditions. Funnily its possible to limit e.g. Vista to Vista SP2 only and disable SP1 and no SP, but this is not possible for Windows Server 2008 SP1 or SP2. There is only one checkbox for Windows Server 2008 at all.

Why is this missing? How can I add a similar check for the older Windows Server 2008 versions (I assume as a manual check)?

Regards,

Roland
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Launch condition missing for Windows Server 2008

Hi Roland,

In order to achieve this you can create a registry search for the following registry value:

Code: Select all

 HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\windows\CSDVersion
then go in the Launch Conditions page and create a custom launch condition.

The following values are related to the SP level:
  • Value: 0x100 - SP1
    Value: 0x200 - SP2
    Value: 0x300 - SP3
    Value: 0x400 - SP4
    Value: 0x500 - SP5
    Value: 0x600 - SP6
Let us know if this helped.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Launch condition missing for Windows Server 2008

Hi Eusebiu,

is there any specific reason, why I can't configure service pack level requirements for Windows Server 2008 in AI?

Furthermore I checked the custom LaunchConditions, there seems to be already a property ServicePackLevel, may I use this one instead?

My condition would look like this one:

Code: Select all

VersionNT <> 600 or (VersionNT = 600 AND MsiNTProductType <> 1 and ServicePackLevel >= 2)
Regards,

Roland
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Launch condition missing for Windows Server 2008

Hi Eusebiu,

I added a custom condition for that, and I checked also the internal AI checks for Operating systems and how they work. I found e.g. WindowsTypeNT64 and WindowsTypeNT64Display properties and the related LaunchConditions (marked with IsPredefined="true").

However, I tried to change the WindowsTypeNT64Display texts to also cover Windows Server SP1, but as soon as I change the project in AI, the additional text is removed. My idea here was to use the same text as with the other conditions (to give the same user experience) but without any success. I added a custom text here now.

Any chance, that AI will add the missing conditions for Windows Server 2008 soon?

Regards,

Roland
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Launch condition missing for Windows Server 2008

Hi Roland,

From what I can see in the following articles there is only SP 2 for Windows Server 2008, no SP 1.
http://www.zdnet.com/blog/microsoft/the ... s-why/1193
http://msdn.microsoft.com/en-us/library ... s.85).aspx

I am not sure why we did not inserted SP 2 in the launch conditions list, I will add it on our TODO list. However, it cannot be included in Advanced Installer in the next release, as this is already in testing.
So sooner the September there are not chances for this to be available.

The only solution you have is to create a custom launch condition, not to edit in Table Editor or directly the aip file, trying to adjust the texts and condition from our predefined support.
The texts and conditions are generated on the fly, based on the selection you make in Launch Conditions page, there are multiple phase where these changes could revert your manual changes. This
is why we recommend using a, separate, custom launch condition.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Launch condition missing for Windows Server 2008

Hi Bogdan,

Windows Server 2008 is behaving quite different, this is true.

The reason why you can't find a specific SP1 for Windows Server 2008 is, that Windows Server 2008 was released with SP1 installed already (maybe you remember, there was some rumor with Windows Vista, and the first Service Pack of Windows Vista came along with Windows Server 2008 and made both "code compatible". After that, you could install the same Service Pack 2 for Vista and Server 2008. In truth that means, the lowest version of Windows Server 2008 you can get is Windows Server 2008 Service Pack 1, there is no version without Service Pack.


Another question: You mentioned, the list is generated on the fly. In my case, with only the latest version of each Windows version being supported, this list is quite long (see screenshots). Any chance to turn this list around, to only show the supported OSes (the idea is, to have a positive list, not a negative list)? Mentioning Windows NT 4.0 is quite ... old style ;-)
Client_setup_restr.png
Client_setup_restr.png (51.72 KiB) Viewed 11706 times
Server_setup_restr.png
Server_setup_restr.png (60.97 KiB) Viewed 11706 times
Thanks for your help,
Roland
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Launch condition missing for Windows Server 2008

Hello Roland,

First of all we apologize for our delayed reply.

In order to achieve what you want you can edit accordingly the "Description" field of the related launch condition from "Table Editor" page -> "LaunchCondition" table.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Launch condition missing for Windows Server 2008

Hi Daniel,
you can edit accordingly the "Description" field of the related launch condition
Yes, of course. But only for my custom conditions, not from the default OS condition, right?

Regards,

Roland
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Launch condition missing for Windows Server 2008

Hi Roland,

No, you can edit the description for all launch conditions configured from "Launch Conditions" page. Just go to "Table Editor" page, select the "LaunchCondition" table and edit the "Description" field of the desired condition.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Launch condition missing for Windows Server 2008

Hi Daniel,
No, you can edit the description for all launch conditions configured from "Launch Conditions" page. Just go to "Table Editor" page, select the "LaunchCondition" table and edit the "Description" field of the desired condition.
Ah, you are right, I did not consider that. I will try that, thanks.

Is this change then persistent, or is the default description restored, when I change a OS LaunchCondition later?

Regards,

Roland
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Launch condition missing for Windows Server 2008

Hello Roland,
Is this change then persistent, or is the default description restored, when I change a OS LaunchCondition later?
I'm afraid this change will not persist after you will change the OS launch conditions. In this case the launch condition description will be reverted to its default value.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Launch condition missing for Windows Server 2008

Hi Daniel,

thanks for clarifying that, this was also my understanding of the way changing the description.

Thanks for helping,

Regards,

Roland
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Launch condition missing for Windows Server 2008

You're welcome.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”