|
-
Apr 13th, 2009, 11:35 AM
#1
Thread Starter
Hyperactive Member
[Resolved] Shortcuts not being created on Vista when "Run As administrator"
Hi,
I'm using InnoSetup for distributing a VB6 application.
I'm testing my setup on various windows and found out that on Vista when I run the setup is run under admin account I get both shortcuts (desktop and quick launch)
However, when I run setup as a standard user by right-clicking setup.exe and selecting "Run as" and administrator, then providing admin password, the program installs correctly but the icons for the shortcuts are not created.
I'm using InnoSetup and this is my [Icons] section:
[Icons]
Name: "{group}\MyProg"; Filename: "{app}\MyProg.exe"
Name: "{group}\Help"; Filename: "{app}\QP.chm"
; desktop & quick launch icons
Name: "{userdesktop}\MyProg"; Filename: "{app}\MyProg.exe"; MinVersion: 4,4
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\MyProg"; Filename: "{app}\MyProg.exe"; MinVersion: 4,4
Last edited by Tomexx; Apr 20th, 2009 at 08:50 PM.
Thanks
Tomexx.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|