Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5975653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:06:59+00:00 2026-05-22T21:06:59+00:00

Well, I’m using Visual C++ 2010 Express and ResEdit for my midi sequencer’s SETUP

  • 0

Well, I’m using Visual C++ 2010 Express and ResEdit
for my midi sequencer’s SETUP app.

Win32 API, no MFC, some custom window and control classes and such.

Now that I got Windows 7, my dang SETUP program is broke.

Windows gives me the ole “Did this app install correctly??” thingy.
Which implies that SOMEthing is wrong with my installer.

I’m tryin’ to figure out what that might be…

I’ve seen these 2 SO threads:

"This program might not have installed correctly"

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

Which have lead me to these places:

http://msdn.microsoft.com/en-us/library/dd371711(VS.85).aspx

http://msdn.microsoft.com/en-us/library/bb756937.aspx

http://msdn.microsoft.com/en-us/library/aa905330.aspx#wvduac_topic3

http://blogs.msdn.com/b/cjacks/archive/2009/06/18/pca-changes-for-windows-7-how-to-tell-us-you-are-not-an-installer-take-2-because-we-changed-the-rules-on-you.aspx

http://community.flexerasoftware.com/archive/index.php?t-189007.html

Only registry entries I use are the standard uninstall spot and
associations for filetypes.

SETUP writes a dat.cfg file in program files\pianocheater dir
that points to where all the app’s data is. (just a text file with a path in it)
(And an etc.cfg for a temp dir within that data dir to use.)

So I’m only READING from programfiles\pianocheater post SETUP.

Can anybody think of why Windows wouldn’t like the install?
Source code is at http://shazware.com/_etc/SETUP_PIANOCHEATER.cpp
It uses my library of window, control classes similar in spirit to mfc.
I could send useful parts of it, too.

It’s not toooo bad for a setup app.
Should be pretty ledgible for a win32 guy/gal.

I could uuuuuse some he’p…:/

Oh yeah, I should point out that Go() is the entry point instead of main().
The DBG()s just do OutputDebugString() and seem to all run just fine.
TStr is just a big char[MAX_PATH] (and I don’t do unicode)

And the trick PROBably is that I’m on win7 64 bit, but this is a 32 bit app.
I’m pretty sure I’m using the registry correctly for assoc’s and uninstall spot, though.

So is THE thing I SHOULD do the manifest xml thing?
Or is there a more correct way to do things?

thanks much,

…Steve

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T21:07:00+00:00Added an answer on May 22, 2026 at 9:07 pm

    First off, check whether that message is a false positive or not. The message you’re seeing is designed to use heuristics (which can be wrong!) to determine if an installer failed due to Windows Vista/7 compatibility issues. If your installer is in fact compatible with Windows 7/Vista, then all you need to do is add a manifest declaring itself compatible. You’ll also want to add a requestedExecutionLevel entry to your manifest as well to request elevation.

    If your installer is in fact failing, of course, then you ought to fix that first.

    Finally, if the error is showing up because a launcher executable exits early or something like that, consider suppressing installer detection by adding the appropriate manifest entries to the launcher as well (you may be able to use a requestedExecutionLevel of asInvoker if the launcher doesn’t need administrative access; the presence of a requestedExecutionLevel manifest entry should suppress installer detection). Note that you should make sure you use ShellExecute to invoke your main installer process, not CreateProcess, or UAC may not elevate the child process.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Well, the subject says everything. I'm using json_encode to convert some UTF8 data to
Well I have a view of this type of hierarchy Main View (having some
well why would, #include <iostream> using namespace std; int afunction () {return 0;}; int
Well, i need to check if some fields are empty when submiting get an
Well, this one is my XML file <?xml version=1.0 encoding=utf-8?> <config> <setup> <Test>10</Test> <Copy>
I am using Paperclip to handle profile photo uploads in my app. They upload
well I'm trying to create a great playlist of music, only using a sigle
Well the subject is the question basically. Are there any version control systems out
Well, i've got a nice WPF book its called Sams Windows Presentation Foundation Unleashed.
Well behaved windows programs need to allow users to save their work when they

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.