Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Questions about creating applications for Vista

Reply
Thread Tools Display Modes

Questions about creating applications for Vista

 
 
Amy Blankenship
Guest
Posts: n/a

 
      06-29-2007
Hi, all;

I am not sure if this is the correct Vista forum for these questions, so if
I need to ask somewhere else please let me know. I am creating eLearning
applications in a program called Macromedia Authorware. In order to
validate the users, we use the Xtras provided by Macromedia to hit a web
page on my client's server to confirm the user's identity and mark him/her
registered. These tools are very old and not great. For instance, they
can't pick up any proxy data. On the client, we install a mdb file to the
hard drive that both contains the course content and tracks the user, which
we use ODBC to communicate with.

Vista came out right before our first product release, and sort of took us
by surprise. So we did some quick emergency testing to discover that when
the exe runs from the CD as it is designed to run, even admin users have to
set the compatibility mode of the exe so that the login works (the login
requires both the hit to the internet and database communication.

The problem we have is that our users have a very low level of technical
competency, so they often are not able to follow the instructions for making
the compatibility mode change. Additionally, they expect us to provide them
with the password to make any needed elevation. They are often not capable
(or in some cases they are capable but unwilling) to understand any
explanations of why we can't provide them with the password.

So, I am trying to figure out a way to remake the application before the
next release that will allow us to avoid having to prompt the user. But to
do that, I need more information about what features in an application cause
these prompts. I have looked in vain for information on this at MSDN, but I
have only found information on the Compatibility Assistant, etc., and not
what the assistant is actually looking for.

What I need to know is this:

1) If the application is installed vs. running from DVD, does that make a
difference? What constitutes "installed"? I have found that for admin
users, copying the whole DVD to the desktop does in fact avoid the
requirement for compatibility mode and run as administrator. Lower level
users are still prompted when the exe is run, but I'm not sure if a "real"
installation could avoid this. Admin users are _not_ prompted for anything
from the DVD, but it simply fails to work. Could the difference in the need
for compatibility mode have to do with the fact that Aero skins are off on
the machine that worked without changing the mode, rather than the fact it
was copied into the machine itself?
2) If we changed our method of accessing the Internet, would that change
what permissions and compatibility mode are used?
3) When we run the application exe on the machine, when we quit out the
Compatibility Assistant says "the application may not have installed
correctly" (both as an admin and a normal user). What is causing the system
to believe the application is an installer, and what could I do to avoid
confusing it?
4) Any other thoughts, resources, etc., on this subject would be
appreciated.

Thanks;

Amy


 
Reply With Quote
 
 
 
 
Michael Solomon
Guest
Posts: n/a

 
      06-29-2007


"Amy Blankenship" <> wrote in message
news:OdQ#A$...
> Hi, all;
>
> I am not sure if this is the correct Vista forum for these questions, so
> if I need to ask somewhere else please let me know. I am creating
> eLearning applications in a program called Macromedia Authorware. In
> order to validate the users, we use the Xtras provided by Macromedia to
> hit a web page on my client's server to confirm the user's identity and
> mark him/her registered. These tools are very old and not great. For
> instance, they can't pick up any proxy data. On the client, we install a
> mdb file to the hard drive that both contains the course content and
> tracks the user, which we use ODBC to communicate with.
>
> Vista came out right before our first product release, and sort of took us
> by surprise. So we did some quick emergency testing to discover that when
> the exe runs from the CD as it is designed to run, even admin users have
> to set the compatibility mode of the exe so that the login works (the
> login requires both the hit to the internet and database communication.
>
> The problem we have is that our users have a very low level of technical
> competency, so they often are not able to follow the instructions for
> making the compatibility mode change. Additionally, they expect us to
> provide them with the password to make any needed elevation. They are
> often not capable (or in some cases they are capable but unwilling) to
> understand any explanations of why we can't provide them with the
> password.
>
> So, I am trying to figure out a way to remake the application before the
> next release that will allow us to avoid having to prompt the user. But
> to do that, I need more information about what features in an application
> cause these prompts. I have looked in vain for information on this at
> MSDN, but I have only found information on the Compatibility Assistant,
> etc., and not what the assistant is actually looking for.
>
> What I need to know is this:
>
> 1) If the application is installed vs. running from DVD, does that make
> a difference? What constitutes "installed"? I have found that for admin
> users, copying the whole DVD to the desktop does in fact avoid the
> requirement for compatibility mode and run as administrator. Lower level
> users are still prompted when the exe is run, but I'm not sure if a "real"
> installation could avoid this. Admin users are _not_ prompted for
> anything from the DVD, but it simply fails to work. Could the difference
> in the need for compatibility mode have to do with the fact that Aero
> skins are off on the machine that worked without changing the mode, rather
> than the fact it was copied into the machine itself?
> 2) If we changed our method of accessing the Internet, would that
> change what permissions and compatibility mode are used?
> 3) When we run the application exe on the machine, when we quit out the
> Compatibility Assistant says "the application may not have installed
> correctly" (both as an admin and a normal user). What is causing the
> system to believe the application is an installer, and what could I do to
> avoid confusing it?
> 4) Any other thoughts, resources, etc., on this subject would be
> appreciated.
>
> Thanks;
>
> Amy
>

Amy, this is a peer to peer newsgroup for users. Developers and
development, application creation and creation issues help should be sought
in the MSDN newsgroups:
http://www.microsoft.com/communities...s/default.mspx

--
Michael Solomon
Backup is a PC user's best friend
DTS-L.Org: http://www.dts-l.org/

 
Reply With Quote
 
Andrew McLaren
Guest
Posts: n/a

 
      06-29-2007
Hi Amy

Are the Vista machine stand-alone, or part of a domain?

One possible route would be to turn off some or all of the UAC features in
Vista (since you cannot change the program code of your 3rd party tools, to
be Vista compatible).

If the machines are in a Domain, you can modify them all using domain Group
Policies.

If the macines are stand-alone, you would need to run the Local Security
Policy snap-in, on each machine.

For example, you would need to turn the "User Account Control: Only elevate
UIAccess applications that are installed in secure locations" policy OFF, to
run the apps from removable media like a CD-ROM without prompts.

There is some info about the policies, here:
http://technet2.microsoft.com/Window....mspx?mfr=true

Obviously this method, will weaken the strong security which is one of
Vista's features! But you won't be less secure than you were on XP.

The other main strategy would be to try to create a compat shim for your
app, using the Application Compatibility Toolkit. I haven't tried this
myself, so I dunno how easy or hard it would be. There is some info on this,
here:
http://technet2.microsoft.com/Window....mspx?mfr=true

You might want to also try asking in the
microsoft.public.deployment.app_compatibility newsgroup - the folks there
are full-time specialists in exacly this kind of problem.

Hope it helps
Andrew

 
Reply With Quote
 
Amy Blankenship
Guest
Posts: n/a

 
      06-30-2007

"Andrew McLaren" <> wrote in message
news:A035CD02-9809-43E7-9535-...
> Hi Amy
>
> Are the Vista machine stand-alone, or part of a domain?
>
> One possible route would be to turn off some or all of the UAC features in
> Vista (since you cannot change the program code of your 3rd party tools,
> to be Vista compatible).
>
> If the machines are in a Domain, you can modify them all using domain
> Group Policies.
>
> If the macines are stand-alone, you would need to run the Local Security
> Policy snap-in, on each machine.
>
> For example, you would need to turn the "User Account Control: Only
> elevate UIAccess applications that are installed in secure locations"
> policy OFF, to run the apps from removable media like a CD-ROM without
> prompts.
>
> There is some info about the policies, here:
> http://technet2.microsoft.com/Window....mspx?mfr=true
>
> Obviously this method, will weaken the strong security which is one of
> Vista's features! But you won't be less secure than you were on XP.


Our users are not able to manage even changing the compatibility mode.
There is no way they would be able to turn off their UAC even assuming they
have the rights.

> The other main strategy would be to try to create a compat shim for your
> app, using the Application Compatibility Toolkit. I haven't tried this
> myself, so I dunno how easy or hard it would be. There is some info on
> this, here:
> http://technet2.microsoft.com/Window....mspx?mfr=true


I will check this out.

> You might want to also try asking in the
> microsoft.public.deployment.app_compatibility newsgroup - the folks there
> are full-time specialists in exacly this kind of problem.


Cool. I would not have known to look there. Thanks!

-Amy


 
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
Installing applications on Vista Victor Geyyer Windows Vista General Discussion 8 05-21-2008 06:03 AM
Where are the APPLICATIONS in Vista? Amanda Windows Vista File Management 7 10-31-2007 11:58 AM
Several applications are trying to access the internet to specific ip address 10.0.0.138 & 224.0.0.2, while ARE NOT internet applications! ref/eDN3072784783 dennis Windows Vista General Discussion 1 09-27-2007 11:08 AM
Vista and DOS based applications Peter Hill Windows Vista General Discussion 8 09-20-2007 11:02 AM
Vista and 16 bit Applications Iain Hamilton Windows Vista General Discussion 6 03-08-2006 02:06 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