Results 1 to 3 of 3

Thread: [Resolved] Shortcuts not being created on Vista when "Run As administrator"

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 1999
    Location
    Ont, Canada, Earth
    Posts
    458

    [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
  •  



Click Here to Expand Forum to Full Width