473,407 Members | 2,326 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Setup Project: Changing Permissions of the Installation Directory

I have a setup project to deploy our software -- but I have a problem.
I want the installation to be system wide, but I also want all users
to have rwx permissions to the installation directory (c:\program
files\company\program\)

The reason is as follows: I have an autoupdate feature that grabs new
updates when they are available -- but in many cases a regular user is
at the machine and cannot update the software because they do not have
write permissions to the program directory.

So, within the setup project, at post install time, I want to alter
the permissions of the directory. Is this possible?
Nov 22 '05 #1
2 2063
Ryan,

one way around this would be to have the administrator install this onto the
terminals, and then have your update service run as the admin account when
performing the update.

Just an idea.

Dan.

"Ryan McCormack" <ry**@ractor.org> wrote in message
news:8b**************************@posting.google.c om...
I have a setup project to deploy our software -- but I have a problem.
I want the installation to be system wide, but I also want all users
to have rwx permissions to the installation directory (c:\program
files\company\program\)

The reason is as follows: I have an autoupdate feature that grabs new
updates when they are available -- but in many cases a regular user is
at the machine and cannot update the software because they do not have
write permissions to the program directory.

So, within the setup project, at post install time, I want to alter
the permissions of the directory. Is this possible?

Nov 22 '05 #2
Ryan

I havent tried including this in my setup project yet but I am considering using 'cacls' in a .bat file.
Nov 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Angela | last post by:
http://support.microsoft.com/default.aspx?scid=KB;EN- US;Q324906& >-----Original Message----- >I'm trying to create a Web SetUp Project for a web >application my team recently developed.
2
by: Ryan McCormack | last post by:
I have a setup project to deploy our software -- but I have a problem. I want the installation to be system wide, but I also want all users to have rwx permissions to the installation directory...
3
by: roger | last post by:
I've created a web setup project for my aspnet app, and added a web folder item "tmp" to the File System editor under the web application folder. (My app uses this folder for generating image...
2
by: MENTAT | last post by:
Hi, I am trying to create an installer for my web application. So I added a web setup project to my solution (I am using VS.NET 2003). Been playing around with it since then and it basically...
2
by: Arnold | last post by:
Hi, I am trying to create a Web Applcation Setup Project. I would like it to be installed in a folder other than "C:\InetPub\wwwroot". How do I get Visual Studio to do this? If there is any...
3
by: | last post by:
I have created a web setup project for my ASP.NET application that works fine. Also, I have followed the instructions for using a custom action to launch a web page after the installation is...
0
by: Glenn Waldron | last post by:
My ASP.NET app needs to write to a web folder that exists under the main virtual directory folder. I understand that ASPNET/NETWORK SERVICE needs permissions to that folder on the target machine....
0
by: serge calderara | last post by:
dear all, I have build a web application and greate a web setup projet to deploy it. I have select the option to generate files for network installation. Based on that I copy generated setup...
1
by: twdo | last post by:
OK. I am totally frustrated here. I have a setup project within Visual Studio. That setup project is calling a class library project by the use of Custom Actions. Within that class library (my...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.