warning msg from my app setup program - how to fix?

R

Rich P

I added a custom usercontrol to my winform application, and the setup
portion is giving the following warning message:

"File 'usercontrol1.dll' should not be installed into a User's Profile
folder because it may not be available to all users."

I also noticed that when I run setup.exe on this app -- it installs in
Documents and settings instead of Program Files. How can I make setup
install the app in Program Files and how can I eliminate the warning
message above?

Thanks


Rich
 
P

Peter Duniho

I added a custom usercontrol to my winform application, and the setup
portion is giving the following warning message:

"File 'usercontrol1.dll' should not be installed into a User's Profile
folder because it may not be available to all users."

I also noticed that when I run setup.exe on this app -- it installs in
Documents and settings instead of Program Files. How can I make setup
install the app in Program Files and how can I eliminate the warning
message above?

I don't have a Setup project handy to look at, but it ought to be in the
project's properties somewhere, or perhaps as part of the actual project
window (where the folders and build steps are listed).

Pete
 
W

Wilson, Phil

Application Folder in the setup project's IDE File System view is the usual
Program Files folder (assuming you extend it with Comany name, product name
etc). That should eliminate the warning. At the risk of stating the
obvious, if you install anything to a user's profile destination, then it is
really only going to go there. If another user logs on strange things can
happen. Using a shortcut might prompt for the original install medium to
install that file for the new user, but that seems to bother people.

Phil Wilson
The Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972
 
R

Rich P

I ended moving everything from the userdesktop folder to the application
folder. That seemed to resolve things. Not it installs in Program file
and I don't have the warning message anymore.

Rich
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top