Using IA 17 build 8.4.13.
I have selected "Application Requirements" to have:
- Administrator privledges
- Vista User Account Control Elevation
I have selected my Shortcuts to have:
- "Run as administrator"
However, my shortcuts do not request administrator privileges.
What am I missing?
Where should I be looking for updates to IA 17?
I have searched the forums for similar articles, but I end up at an article for older versions of IA with the same problem and a link to a patch that is no longer there.
Run as administrator IA 17
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Run as administrator IA 17
Dear Tim,
IA 17 is not anymore available with our server and even in the case you will be able to download the latest version that was released (17.06), you will be not able to activate it. Each InstallAware version (including updates) requires a specific personal license file to activate the product.
Anyway, I don't recall of any IA 17 fix released for this specific issue.
A question, does it happen with any kind of shortcut where you try to set "Run as administrator" flag?
Regards
IA 17 is not anymore available with our server and even in the case you will be able to download the latest version that was released (17.06), you will be not able to activate it. Each InstallAware version (including updates) requires a specific personal license file to activate the product.
Anyway, I don't recall of any IA 17 fix released for this specific issue.
A question, does it happen with any kind of shortcut where you try to set "Run as administrator" flag?
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
-
- Posts: 3
- Joined: Fri Aug 08, 2014 4:06 am
Re: Run as administrator IA 17
Sorry for the delayed reply.
It is happening when I make a shortcut to an exe file. I have also tested it with a bat file and it is still not setting the run as admin flag on the shortcut.
For clarification, I am looking at the Properties > Shortcut > Advanced... > "Run as administrator" flag on the shortcut once installed. I am also checking the compatibility settings flag just in case. Neither are being set, nor is the user being prompt by UAC when using the shortcut.
Below is a part of my MSI code, where you can see that the GUI has entered the command to make the shortcut for me:
It is happening when I make a shortcut to an exe file. I have also tested it with a bat file and it is still not setting the run as admin flag on the shortcut.
For clarification, I am looking at the Properties > Shortcut > Advanced... > "Run as administrator" flag on the shortcut once installed. I am also checking the compatibility settings flag just in case. Neither are being set, nor is the user being prompt by UAC when using the shortcut.
Below is a part of my MSI code, where you can see that the GUI has entered the command to make the shortcut for me:
Code: Select all
[DEFINE REGION: Perform First Time or Maintenance Installation]
Comment: Install/Re-Install product
[OFFLINE CONTENT]
Create Shortcut $SHORTCUTFOLDER$\MyProduct My App to $TARGETDIR$\MyProduct\MyApp.exe, run as administrator
Create Shortcut $DESKTOPDIR$\MyProduct My App to $TARGETDIR$\MyProduct\MyApp.exe, run as administrator
Install Files F:\SVN\MyApp\bin\x64\Release\MyApp.exe to $TARGETDIR$\MyProduct
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Run as administrator IA 17
Dear Tim,
you missed to aswer my question.
Anyway, does it happen with any kind of shortcut (es. DESKTOP, APPLICATION START MENU ...) where you try to set "Run as administrator" flag?
Regards
you missed to aswer my question.
Anyway, does it happen with any kind of shortcut (es. DESKTOP, APPLICATION START MENU ...) where you try to set "Run as administrator" flag?
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
-
- Posts: 3
- Joined: Fri Aug 08, 2014 4:06 am
Re: Run as administrator IA 17
Sorry, I thought you were talking about the target rather than the location of the shortcut.
I have just checked and it is working in the start menu. It is just my shortcuts on the desktop that are not running as administrator.
I have just checked and it is working in the start menu. It is just my shortcuts on the desktop that are not running as administrator.
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Run as administrator IA 17
Dear Tim,
unfortunately, I have to confirm what you are reporting.
I'll log a note about the issue to our dev team.
As workaround, you can solve the problem with creating a copy of the start menu shortcut into the target desktop shortcut folder (using the Copy Local Files command).
To proceed in this way, please add the following code in your main script file and just after Apply Install statement execution;
Hope this helps you.
Regards
unfortunately, I have to confirm what you are reporting.
I'll log a note about the issue to our dev team.
As workaround, you can solve the problem with creating a copy of the start menu shortcut into the target desktop shortcut folder (using the Copy Local Files command).
To proceed in this way, please add the following code in your main script file and just after Apply Install statement execution;
Code: Select all
if Variable SUCCESS Equals COMPLETE
Set Variable NATIVE_ENGINE to TRUE
Delete Files $DESKTOPDIR$\<ShortcutName>.ink (when installing)
Copy Local Files $SHORTCUTFOLDER$\<ShortcutName>.ink to $DESKTOPDIR$\<ShortcutName>.ink
Set Variable NATIVE_ENGINE to FALSE
end
Hope this helps you.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Who is online
Users browsing this forum: No registered users and 130 guests