Old 10th May 2012, 16:18   #1
kalverson
Member
 
Join Date: May 2007
Location: Maple Grove, Minnesota
Posts: 69
Question Microsoft Certified

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

Has anyone done this?
kalverson is offline   Reply With Quote
Old 10th May 2012, 16:49   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 3,170
It used to be MSI only but they have relaxed those requirements now so I don't see why not.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 27th August 2012, 12:11   #3
kalverson
Member
 
Join Date: May 2007
Location: Maple Grove, Minnesota
Posts: 69
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?
kalverson is offline   Reply With Quote
Old 27th August 2012, 13:36   #4
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 3,170
The version tab was removed in Vista...

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 27th August 2012, 15:04   #5
kalverson
Member
 
Join Date: May 2007
Location: Maple Grove, Minnesota
Posts: 69
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.
kalverson is offline   Reply With Quote
Old 27th August 2012, 15:07   #6
kalverson
Member
 
Join Date: May 2007
Location: Maple Grove, Minnesota
Posts: 69
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.
kalverson is offline   Reply With Quote
Old 27th August 2012, 15:51   #7
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,302
VIAddVersionKey ProductVersion 1.0.0.0
VIAddVersionKey FileVersion 1.0.0.0

Stu

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Old 28th August 2012, 14:27   #8
kalverson
Member
 
Join Date: May 2007
Location: Maple Grove, Minnesota
Posts: 69
Thanks Stu,

That worked great
kalverson is offline   Reply With Quote
Old 14th November 2012, 15:59   #9
kalverson
Member
 
Join Date: May 2007
Location: Maple Grove, Minnesota
Posts: 69
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?
kalverson is offline   Reply With Quote
Old 14th November 2012, 19:43   #10
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 3,170
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.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 15th November 2012, 12:48   #11
kalverson
Member
 
Join Date: May 2007
Location: Maple Grove, Minnesota
Posts: 69
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.
kalverson is offline   Reply With Quote
Old 15th November 2012, 17:18   #12
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 3,170
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.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 19th December 2012, 14:55   #13
kalverson
Member
 
Join Date: May 2007
Location: Maple Grove, Minnesota
Posts: 69
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
kalverson is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump