Hi,
My ".Exe"-Source-Files have the "run as Administrator" Attribute in WIn7 enabled. After Installation on the win7 target computer the "run as administrator" is disabled...
Is there a possibility to enable the attributes "run as administrator" to the ".exe" files on the target system?
regards
Setting Attribute for EXE-Files
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Setting Attribute for EXE-Files
Dear User,
please have a look at the following topic;
http://www.installaware.com/forum/viewtopic.php?f=2&t=8825&start=0&hilit=run+as+Administrator
Regards
please have a look at the following topic;
http://www.installaware.com/forum/viewtopic.php?f=2&t=8825&start=0&hilit=run+as+Administrator
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
Re: Setting Attribute for EXE-Files
mmmhhhhh...
You write:
"please have a look at the following topic;
viewtopic.php?f=2&t=8825&start=0&hilit=run+as+Administrator"
"shortcut-Button"... isn't it?
I need the attribute of the original ".EXE"-file be enabled to "run as Admin".... Not a shortcut-Button!
After runing the install the flag is disabled, although the original source file is enabled
Is there a possibility to enable it at the end of the install? Or is there a workaround?
regards
You write:
"please have a look at the following topic;
viewtopic.php?f=2&t=8825&start=0&hilit=run+as+Administrator"
"shortcut-Button"... isn't it?
I need the attribute of the original ".EXE"-file be enabled to "run as Admin".... Not a shortcut-Button!
After runing the install the flag is disabled, although the original source file is enabled
Is there a possibility to enable it at the end of the install? Or is there a workaround?
regards
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Setting Attribute for EXE-Files
Dear Rulan,
with InstallAware you can define that property at shortcut level only.
Probably I'm missing your exact question, but if you are refering at the file property that is enabled on your local machine and not enabled when the exe is installed with your setup package, this is the correct behaviour.
The "run as Administrator" Attribute is assigned at system level and it is not stored within the file.
Probably you can run a customized PowerShell script (... I'm not a PowerShell expert) to assign that file attribute during setup execution.
Hope this helps you.
Regards
with InstallAware you can define that property at shortcut level only.
After runing the install the flag is disabled, although the original source file is enabled
Probably I'm missing your exact question, but if you are refering at the file property that is enabled on your local machine and not enabled when the exe is installed with your setup package, this is the correct behaviour.
The "run as Administrator" Attribute is assigned at system level and it is not stored within the file.
Probably you can run a customized PowerShell script (... I'm not a PowerShell expert) to assign that file attribute during setup execution.
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
Re: Setting Attribute for EXE-Files
Hi,
I hope, I found a workaround...
That seems to work on xp 32bit, vista/Win7 32/64bit...
Regards
I hope, I found a workaround...
That seems to work on xp 32bit, vista/Win7 32/64bit...
Regards
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Setting Attribute for EXE-Files
Yes, I suppose that works.
Thank you for sharing it.
Regards
Thank you for sharing it.
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 8 guests