“This program might not have installed correctly” message in Windows 7 RC

后端 未结 3 649
清酒与你
清酒与你 2020-12-05 06:51

I have an installer that works perfectly under NT 5.x, Vista, and Windows 7. It contains the proper manifest for UAC on NT 6.x.

But starting with Windows 7 RC, ever

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-05 07:29

    Well, to answer my own question, I've found a way to solve this problem. I noticed that the WinRAR changelog indicated that WinRAR's self-extractor also suffered from the same problem, and that it was solved. So I downloaded the latest version of WinRAR and threw it into a disassembler, along with an earlier version, looking for any new API calls, etc. Long story short, it turns out that all that it did was add the following to the manifest:

    
      
        
          
        
          
      
    
    

    Some Googling of the strings turned up some documentation: apparently, this is something new that was added to Windows 7 and that the documentation for it was created on May 20. It didn't help that Microsoft doesn't link to this from any of their Win7 documentation pages, much less feature it prominently. sigh

    Edit: This is documented, poorly, on MSDN here.

提交回复
热议问题