Archive: Microsoft Certified


Microsoft Certified
I am curious if anyone has certified with Microsoft using a Nullsoft installer?

Has anyone done this?


It used to be MSI only but they have relaxed those requirements now so I don't see why not.


You may be right. The test cases do allow for other "commercially" available installers to be used. I would think that Nullsoft would fall into this class. However, the file version does not work right for Nullsoft. I know there are some links for alternate scripting that "brings back the older version tab", but this may not be considered a "properly versioned file" which Microsoft requires of every file included in an install as well as the installer itself. Is there any chance that this could be fixed?


The version tab was removed in Vista...


From the NSIS manual:

4.8.3.2 VIProductVersion
[version_string_X.X.X.X]
Adds the Product Version on top of the Version Tab in the Properties of the file.

VIProductVersion "1.2.3.4"

My code:

!define PRODUCT_VERSION_MAJOR.MINOR "3.0"

VIProductVersion "${PRODUCT_VERSION_MAJOR.MINOR}.0.0"

The resulting installer exe has a blank for Product version.


I guess this must be difference because it is on the "Details" tab now instead. My question is can the 4.8.3.2 VIProductVersion be fixed to populate the "Details tab instead.


VIAddVersionKey ProductVersion 1.0.0.0
VIAddVersionKey FileVersion 1.0.0.0

Stu


Thanks Stu,

That worked great :)


I am getting some error from the Microsoft readiness tool for 2012 servers. There are some complains about the NSIS setup exe failing these checks:
Image is not marked as NX compatible
Image is not marked as Dynamic Base compatible
No SAFESEH (LOAD_CONFIG absent)
Does anyone know if this can be corrected on an NSIS setup exe built by NSIS?


We might be able to set these flags in the future, in the mean time you can hex edit the 2.46 stubs. You can find the PE DllCharacteristics flags @ http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx You can find the offset with http://wjradburn.com/software/#PEView if you don't have Visual Studio and editbin.


Thanks Anders, that was exactly the information I needed. I did find that I could use CFF Explore VII to modify those flags. The Microsoft tool even has a dialog breaking out what all the bits mean and checkboxes to turn the flags on. The tool launches from the explore right-click menu on highlighted exe's so it is very convenient to use.


Note that IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE is probably not going to relocate the .exe in memory since we strip the relocations to reduce the size.


This is just to let eveyone know it is possible to get MS certified using Nullsoft. We have ours now for "Works with Windows Server 2008 R2" and also "Certified on Windows Server 2012" as well. Here is a link to our catalog entry:
http://www.windowsservercatalog.com/...5b&bCatID=1282