harmn1
Posts: 17
Joined: Wed May 13, 2009 4:49 pm

Trial licensing mode doesn't work under Vista

Dear all

My installer works fine under XP, using your trialware DLL. When I try to run the same installer under Vista, the trialware does not work correctly. The first dialog box (see Vista1.png in the attached ZIP) has no graphics and, more importantly, no 'Try' button. There is no way to try the software without entering a key!

If you click Next, (see Vista2.png) you can enter a key (which does work correctly and will unlock the software), but the dialog still has no graphics, and referes to a 'Continue' buytton which doesn't exist. If you click Back on this dialog (Vista3.png), you can no longer go forward to the registraion key dialog, and are basically stuck with Cancel as the only option.

I have included the XP dialog images in the ZIP as well, for reference.

Is this an issue with the Trial.dll version I'm using? My AI is 7.3, BTW.

Regards

Nick
Attachments
Trial Problem.zip
Screenshots of dialog boxes
(206.59 KiB) Downloaded 364 times
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Trial licensing mode doesn't work under Vista

Hello,

Please refer to this article which discusses the issue in detail:
http://www.advancedinstaller.com/forums ... ols#p27243

Let me know if it helped.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
harmn1
Posts: 17
Joined: Wed May 13, 2009 4:49 pm

Re: Trial licensing mode doesn't work under Vista

Gabriel

I'm now totally confused"! My app doesn't use .NET, or MFC - it's a C++Builder 6 application.. It works fine under XP, so why does it fail under Vista? IT sounds as though you're suggesting that I need a complete different build to make this work on Vista - where should this mysterious 'manifest' (which I've never needed before) go?
harmn1
Posts: 17
Joined: Wed May 13, 2009 4:49 pm

Re: Trial licensing mode doesn't work under Vista

Gabriel

I've just opened by installer EXE in ResHacker, and found the attached compiled into it (presumably by AI). This looks as though it's the right data, referring to your linked article (the publicKeyToken attribute is correct - it's just been lost off the edge of the screen), but it still doesn't work on Vista.

Any ideas?

Nick
Attachments
resource.png
resource.png (78.63 KiB) Viewed 4902 times
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Trial licensing mode doesn't work under Vista

Hello,

Please send the built msi to support at advancedinstaller dot com so we can further investigate the issue.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
harmn1
Posts: 17
Joined: Wed May 13, 2009 4:49 pm

Re: Trial licensing mode doesn't work under Vista

Gabriel

If it put a file <appname>.exe.manifest in the same folder as the EXE, it works better - I do at least get a Try button. However, I also get a 'Buy' button, which shouldn't be there (and isn't there on XP), and there are still no graphics. The manifest contains data as shown below (this came from the manifest which AI embeds in my installer). I've also tried modifying the example manifest on the linked page which you referred me to and using that, with the same results.

Nick

Code: Select all

<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
  <dependency>
    <dependentAssembly>
      <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="x86" publicKeyToken="6595b64144ccf1df" language="*">
      </assemblyIdentity>
    </dependentAssembly>
  </dependency>
  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
    <security>
      <requestedPrivileges>
        <requestedExecutionLevel level="asInvoker" uiAccess="false">
        </requestedExecutionLevel>
      </requestedPrivileges>
    </security>
  </trustInfo>
  <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
    <application>
      <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"></supportedOS>
      <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"></supportedOS>
    </application>
  </compatibility>
</assembly>

Return to “Common Problems”