Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Program Compatibilty Assistant - InstallMe.exe

Reply
Thread Tools Display Modes

Program Compatibilty Assistant - InstallMe.exe

 
 
James Hunter Ross
Guest
Posts: n/a

 
      01-07-2010

Friends,

I have a simple C# HelloWorld.exe that simply brings up a dialog with an OK
button. If I rename it to InstallMe.exe and run it on Windows7, I get the
the "Program Compatibility Assistant" window stating "This program might not
have installed correctly.". (This is just my simple "repro" for a more real
issue.)

Is there a way, using the EXE manifest or other means, to tell that "Program
Compatibility Assistant" not to worry. My little test program just puts up
a window; somehow the name containing the text "install" wakes this thing
up. We can certainly warn our customers to ignore the message, but there
must be someway to prevent it.

Any words or advice will be very much appreciated! Thanks in advance!

James


 
Reply With Quote
 
 
 
 
Wilson, Phil
Guest
Posts: n/a

 
      01-09-2010
Give it an actual manifest, yes. Windows is using a heuristic called
"installer elevation" because it thinks your program might be a setup
program. If you return a non-zero exit code it thinks the "install" failed.
--
Phil Wilson
The Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972


"James Hunter Ross" <> wrote in message
news:uC6ABO%...
> Friends,
>
> I have a simple C# HelloWorld.exe that simply brings up a dialog with an
> OK button. If I rename it to InstallMe.exe and run it on Windows7, I get
> the the "Program Compatibility Assistant" window stating "This program
> might not have installed correctly.". (This is just my simple "repro" for
> a more real issue.)
>
> Is there a way, using the EXE manifest or other means, to tell that
> "Program Compatibility Assistant" not to worry. My little test program
> just puts up a window; somehow the name containing the text "install"
> wakes this thing up. We can certainly warn our customers to ignore the
> message, but there must be someway to prevent it.
>
> Any words or advice will be very much appreciated! Thanks in advance!
>
> James
>
>


 
Reply With Quote
 
James Hunter Ross
Guest
Posts: n/a

 
      01-11-2010
Thanks for the reply Phil! I'll do some experiments with my little
HelloWorld.exe (renamed to InstallMe.exe) program. I do know that I return
0 though, and the "Program Compatibility Assistant" still displays; so that
is a little odd. Now that I know the heuristic is referred to as "installer
elevation" perhaps I can Google it, or work with our MS partnership clan (we
are gold partners) and get this resolved.

Thanks again! James


"Wilson, Phil" <> wrote in message
news:1A1DC1DC-A219-4992-916C-...
> Give it an actual manifest, yes. Windows is using a heuristic called
> "installer elevation" because it thinks your program might be a setup
> program. If you return a non-zero exit code it thinks the "install"
> failed.
> --
> Phil Wilson
> The Definitive Guide to Windows Installer
> http://www.apress.com/book/view/1590592972
>
>
> "James Hunter Ross" <> wrote in message
> news:uC6ABO%...
>> Friends,
>>
>> I have a simple C# HelloWorld.exe that simply brings up a dialog with an
>> OK button. If I rename it to InstallMe.exe and run it on Windows7, I get
>> the the "Program Compatibility Assistant" window stating "This program
>> might not have installed correctly.". (This is just my simple "repro"
>> for a more real issue.)
>>
>> Is there a way, using the EXE manifest or other means, to tell that
>> "Program Compatibility Assistant" not to worry. My little test program
>> just puts up a window; somehow the name containing the text "install"
>> wakes this thing up. We can certainly warn our customers to ignore the
>> message, but there must be someway to prevent it.
>>
>> Any words or advice will be very much appreciated! Thanks in advance!
>>
>> James
>>
>>

>



 
Reply With Quote
 
Wilson, Phil
Guest
Posts: n/a

 
      01-11-2010

That's interesting - maybe the other end of that heuristic isn't the exit
code as I thought, maybe it's that fact that nothing changed in the
Add/Remove Programs registry area. If you find the answer I'd like to know!
--
Phil Wilson
The Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972


"James Hunter Ross" <> wrote in message
news:...
> Thanks for the reply Phil! I'll do some experiments with my little
> HelloWorld.exe (renamed to InstallMe.exe) program. I do know that I
> return 0 though, and the "Program Compatibility Assistant" still displays;
> so that is a little odd. Now that I know the heuristic is referred to as
> "installer elevation" perhaps I can Google it, or work with our MS
> partnership clan (we are gold partners) and get this resolved.
>
> Thanks again! James
>
>
> "Wilson, Phil" <> wrote in message
> news:1A1DC1DC-A219-4992-916C-...
>> Give it an actual manifest, yes. Windows is using a heuristic called
>> "installer elevation" because it thinks your program might be a setup
>> program. If you return a non-zero exit code it thinks the "install"
>> failed.
>> --
>> Phil Wilson
>> The Definitive Guide to Windows Installer
>> http://www.apress.com/book/view/1590592972
>>
>>
>> "James Hunter Ross" <> wrote in message
>> news:uC6ABO%...
>>> Friends,
>>>
>>> I have a simple C# HelloWorld.exe that simply brings up a dialog with an
>>> OK button. If I rename it to InstallMe.exe and run it on Windows7, I
>>> get the the "Program Compatibility Assistant" window stating "This
>>> program might not have installed correctly.". (This is just my simple
>>> "repro" for a more real issue.)
>>>
>>> Is there a way, using the EXE manifest or other means, to tell that
>>> "Program Compatibility Assistant" not to worry. My little test program
>>> just puts up a window; somehow the name containing the text "install"
>>> wakes this thing up. We can certainly warn our customers to ignore the
>>> message, but there must be someway to prevent it.
>>>
>>> Any words or advice will be very much appreciated! Thanks in advance!
>>>
>>> James
>>>
>>>

>>

>
>


 
Reply With Quote
 
Wilson, Phil
Guest
Posts: n/a

 
      01-13-2010
Oddly enough I just had the same problem. See here:
http://msdn.microsoft.com/en-us/libr...11(VS.85).aspx

and the SupportOS thing for Windows 7 in the manifest, that stops the
warning messages.

--
Phil Wilson
The Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972


"James Hunter Ross" <> wrote in message
news:...
> Thanks for the reply Phil! I'll do some experiments with my little
> HelloWorld.exe (renamed to InstallMe.exe) program. I do know that I
> return 0 though, and the "Program Compatibility Assistant" still displays;
> so that is a little odd. Now that I know the heuristic is referred to as
> "installer elevation" perhaps I can Google it, or work with our MS
> partnership clan (we are gold partners) and get this resolved.
>
> Thanks again! James
>
>
> "Wilson, Phil" <> wrote in message
> news:1A1DC1DC-A219-4992-916C-...
>> Give it an actual manifest, yes. Windows is using a heuristic called
>> "installer elevation" because it thinks your program might be a setup
>> program. If you return a non-zero exit code it thinks the "install"
>> failed.
>> --
>> Phil Wilson
>> The Definitive Guide to Windows Installer
>> http://www.apress.com/book/view/1590592972
>>
>>
>> "James Hunter Ross" <> wrote in message
>> news:uC6ABO%...
>>> Friends,
>>>
>>> I have a simple C# HelloWorld.exe that simply brings up a dialog with an
>>> OK button. If I rename it to InstallMe.exe and run it on Windows7, I
>>> get the the "Program Compatibility Assistant" window stating "This
>>> program might not have installed correctly.". (This is just my simple
>>> "repro" for a more real issue.)
>>>
>>> Is there a way, using the EXE manifest or other means, to tell that
>>> "Program Compatibility Assistant" not to worry. My little test program
>>> just puts up a window; somehow the name containing the text "install"
>>> wakes this thing up. We can certainly warn our customers to ignore the
>>> message, but there must be someway to prevent it.
>>>
>>> Any words or advice will be very much appreciated! Thanks in advance!
>>>
>>> James
>>>
>>>

>>

>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ANS: "What's the deal with UAC (Windows Needs Your Permission screens)" and "...But I thought I was an administrator" Jimmy Brush Windows Vista Administration 199 12-31-2009 07:58 AM
ANS: "What's the deal with UAC (Windows Needs Your Permission screens)" and "...But I thought I was an administrator" Jimmy Brush Windows Vista File Management 198 12-31-2009 07:58 AM
Macromedia projector Victoria Windows Vista General Discussion 8 12-26-2009 03:51 PM
Corrupt Files juerg Windows Vista Installation 10 07-12-2007 04:38 PM
Program Capatibility Assistant Carl S Windows Vista Installation 6 02-24-2007 04:08 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59