Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Execute Program action (Run as Administrator)

Updated: 21 May 2010 | 1 comment
Shaun Wilkinson's picture
0 0 Votes
Login to vote

Hello All,



I am preparing an installation that requires a specific folder share with permissions to be created on an installed folder. As far as I can tell there is nothing in Wise Install Studio that creates a share and allows for the setting up of share permissions. I have looked into this and can achieve it execting a NET SHARE or RMTSHARE.exe command to grant permissions on created shares.



The problem is that I need to run these commands/.exes as an administrator when I call them as a custom action. Can someone advise how I can configure file properties on files that are installed to "Run as Adminstrator" or simialry put a tick in the "Run this program as an adminstrator" box in the compatibility tab.



Many thanks for any assistance that can be provided.



Cheers





Discussion Filed Under:

Comments

EdT's picture
22
Feb
2009
0 Votes 0
Login to vote

First of all, are you running on Vista, or are you trying to deploy using a non-admin user, or a local admin user with no domain credentials?



Running NET share is a solution that has been adopted by other packagers with great success, but you need to ensure that the installing account has the right permissions to complete the task.

If Vista is involved, you may need to create a manifest file to inform the operating system to run the install with elevation.

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.