View Full Version : Windows Vista Problem with shortcuts
NewsArchive
01-30-2007, 02:16 AM
Hi
I just loaded the latest version of windows vista from the action pack cd
that came today.
Setup builder does not create shortcuts or menus when you are logged in as
an admin. Everything worked fine in the beta versions.
If you are logged in as a normal user the shortcuts are created ok, but
being most people will be an admin since the are the only ones on the
computer this is a pretty bad problem.
I tried my old wise installs and they create the short cuts ok.
Please help
Greg Palmer
NewsArchive
01-30-2007, 02:16 AM
Greg,
We are using the final Vista for several month on four machines but cannot
reproduce this here. We have tested SetupBuilder 6 at a data center on 75
Vista machines running all kind of Vista editions.
A few hundred of our customers are using a Vista-aware installer compiled
with SB6 and we did not receive any similar report.
SetupBuilder 6.0 itself is classified as Mixed User Application - it can run
as a Standard User or Administrator on Vista. No problems with shortcuts at
all here.
Do you have SetupBuilder 6? Could you please send a demo script?
Friedrich
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
"point. click. ship" - that's SetupBuilder 6
Create Windows Vista ready installations in minutes
NewsArchive
01-30-2007, 02:26 AM
As a side note, under Windows XP, most users normally live in Administrator
login mode. This will completely change under Vista. The new Windows Vista
UAC mode allows you to login as a Standard User, but still perform admin
tasks.
So it's very important to provide a mixed mode application for Vista because
most users live in Standard Mode.
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
"point. click. ship" - that's SetupBuilder 6
Create Windows Vista ready installations in minutes
NewsArchive
01-30-2007, 03:44 AM
Greg,
To be on the safe side, we have tested this again on all Vista (final
version) machines. It always worked fine (see screenshot). All Shortcuts
are created (logged in as Administrator in this case).
Friedrich
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
"point. click. ship" - that's SetupBuilder 6
Create Windows Vista ready installations in minutes
NewsArchive
01-30-2007, 11:16 AM
Hi
Would you download our demo and try to install it on one of your vista
machines to see if it will create the shortcuts.
http://www.autorepairboss.com/demo/arbprog.exe
I am using the latest build of SetupBuilder 6. I didn't have any problems
untill yesterday when I got the latest CD from my ActionPack subscription.
Thanks
Greg
NewsArchive
01-30-2007, 11:16 AM
Hi Greg,
The answer to this "problem" is very easy. In your installer, you do not
request Administrator execution level.
You have to set Requested Execution Level to requireAdministrator.
Does this help?
Friedrich
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
"point. click. ship" - that's SetupBuilder 6
Create Windows Vista ready installations in minutes
NewsArchive
01-30-2007, 11:16 AM
By the way, you can even check this with your current installer. Select
your installer executable, right-click the mouse and select "Run as
administrator" and your current installer works fine.
So you only have to change execution level and your are done.
Friedrich
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
"point. click. ship" - that's SetupBuilder 6
Create Windows Vista ready installations in minutes
NewsArchive
01-30-2007, 11:17 AM
If I did that then a normal user when need an admin password wouldn't they?
It seems odd that a normal user can install ok but ad admin can't.
Greg
NewsArchive
01-30-2007, 11:17 AM
Welcome to Vista <g>. That is how Vista works and has nothing to do with
SetupBuilder 6!
An installer should ALWAYS have administrator execution level (Microsoft
recommendation). You can give your application asInvoker execution level,
that's ok.
If you write to protected areas, administrator execution level is required.
You do not do this in your current installer and so Vista does not create
your shortcuts, uninstall entries in the Add/Remove Programs panel etc.
Does this help?
Friedrich
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
"point. click. ship" - that's SetupBuilder 6
Create Windows Vista ready installations in minutes
NewsArchive
01-30-2007, 11:17 AM
If you use administartor then variables get messed up. It doesn't use the
local users directory to install into it uses the admin's instead.
Greg
NewsArchive
01-30-2007, 11:17 AM
Yes, that's correct. Again, welcome to Vista :)
Friedrich
NewsArchive
01-30-2007, 11:18 AM
It also looks like you don't need to install into the user's directory
anymore for the permissions to be set up correctly.
In other works if I install to c:\arbwin and have installed as an admin then
any user can run the program. Are you finding this to be true because it did
not work this way before.
Greg
NewsArchive
01-30-2007, 11:18 AM
Greg,
I don't see any problem with installing to c:\arbwin - this should not cause
problems. We have tested this (create folder on root and install into that
folder) some weeks ago on all available Vista editions in Administrator and
Standard User mode, and it never failed.
Friedrich
NewsArchive
01-30-2007, 11:18 AM
I may be missing something here but a normal user without admin privilages
can install into his own folder and the icons are created ok. but an admin
cannot install into his own directory? I would think that it should be the
other way around. Why does the admin need admin privilages when he is logged
in as an admin? and a normal user doesn't have this problem or need admin
privilages to install the program?
Greg
NewsArchive
01-30-2007, 11:18 AM
You have to "request" administration execution level for your installer if
you are logged in as admin. An admin always has admin privileges. Two
different things.
If you request Administrator Execution Level then it returns the
administrator information. If you request "asInvoker" execution level
you'll get the info for "joe user".
Friedrich
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.