title: install on windows 7 troubleshoot compatibility PCA - "This program might not have installed correctly”
body: <p>Well, I'm using Visual C++ 2010 Express and ResEdit
  for my midi sequencer's SETUP app.</p>
  
  <p>Win32 API, no MFC, some custom window and control classes and such.</p>
  
  <p>Now that I got Windows 7, my dang SETUP program is broke.</p>
  
  <p>Windows gives me the ole "Did this app install correctly??" thingy.
  Which implies that SOMEthing is wrong with my installer.</p>
  
  <p>I'm tryin' to figure out what that might be...</p>
  
  <p>I've seen these 2 SO threads:</p>
  
  <p><a href="https://stackoverflow.com/questions/5276501/this-program-might-not-have-installed-correctly">&quot;This program might not have installed correctly&quot;</a></p>
  
  <p><a href="https://stackoverflow.com/questions/1069135/this-program-might-not-have-installed-correctly-message-in-windows-7-rc">&quot;This program might not have installed correctly&quot; message in Windows 7 RC</a></p>
  
  <p>Which have lead me to these places:</p>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/dd371711(VS.85).aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/dd371711(VS.85).aspx</a></p>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/bb756937.aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/bb756937.aspx</a></p>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/aa905330.aspx#wvduac_topic3" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/aa905330.aspx#wvduac_topic3</a></p>
  
  <p><a href="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" rel="nofollow noreferrer">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</a></p>
  
  <p><a href="http://community.flexerasoftware.com/archive/index.php?t-189007.html" rel="nofollow noreferrer">http://community.flexerasoftware.com/archive/index.php?t-189007.html</a></p>
  
  <p>Only registry entries I use are the standard uninstall spot and
  associations for filetypes.</p>
  
  <p>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.)</p>
  
  <p>So I'm only READING from programfiles\pianocheater post SETUP.</p>
  
  <p>Can anybody think of why Windows wouldn't like the install?
  Source code is at <a href="http://shazware.com/_etc/SETUP_PIANOCHEATER.cpp" rel="nofollow noreferrer">http://shazware.com/_etc/SETUP_PIANOCHEATER.cpp</a>
  It uses my library of window, control classes similar in spirit to mfc.
  I could send useful parts of it, too.</p>
  
  <p>It's not toooo bad for a setup app.
  Should be pretty ledgible for a win32 guy/gal.</p>
  
  <p>I could uuuuuse some he'p...:/</p>
  
  <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)</p>
  
  <p>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.</p>
  
  <p>So is THE thing I SHOULD do the manifest xml thing?
  Or is there a more correct way to do things?</p>
  
  <p>thanks much,</p>
  
  <p>...Steve</p>