By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,796 Members | 1,205 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,796 IT Pros & Developers. It's quick & easy.

Problem in Setup and Deployment Projects

P: 31
Hi,
I am using Visual Studio 2005. I am trying to create an msi package for my application using Setup and Deployment project.
I am able to create msi package and it is installing properly.

The problem is:
I installed the application by selecting "Everyone" option.
When I want to launch this application in user(not administrator), it is trying to install the application once again in the user mode.
If the the user has administrator privileges it installs the application and when I launch the application for the second time, It opens up my application User Interface.
If the user doesn't have administrator privileges it doesn't install and it does not launch my application.
I made the InstallAllUsers property to True which is previously set to False.Even then it is given the same problem.
I also tried by setting ALLUSERS property to 1 and other time to 2 but without any success.
Why it is doing like that???How to overcome this problem???Where am I going wrong???
Jul 18 '07 #1
Share this Question
Share on Google+
5 Replies


TRScheel
Expert 100+
P: 638
User's typically dont have install privileges.
Jul 18 '07 #2

P: 31
User's typically dont have install privileges.
Hi,
If we give the user install privileges???
I think u haven't understood my problem well.
why in the user the application is installing once again???
Jul 19 '07 #3

TRScheel
Expert 100+
P: 638
Hi,
If we give the user install privileges???
I think u haven't understood my problem well.
why in the user the application is installing once again???

My only guess is that it is not installing the full program when the user runs it, it is merely installing the portions relevant to that user.
Jul 19 '07 #4

P: 31
My only guess is that it is not installing the full program when the user runs it, it is merely installing the portions relevant to that user.
I found what the problem is.
It is not creating the registries for the user as it is creating for the administrator.
I have added the registry entries in
HKCU\Software\[Manufacturer]\.......
in my Setup projects to install during installation.

Even I tried adding the registry contents in the user/machine hive in my setup project.
It is adding the registry contents in the
HKU\Software\[Manufacturer]\.....

Its not adding in HKey_Current_User of the user.

Can u tell me Where I have to add these registry entries so that it adds up in the HKCU\Software\[Manufacturer]\....... of the user registry
Jul 20 '07 #5

P: 1
Hi i am using Setup and Deployment project
User Interface Dialog Box i have textbox i want to customize that textbox .... all i need is to set the foucs on the text box instead of NEXT Button...

One Method i know is to Create a web form and customize the textbox and Use it but i dont want to do that ... i want to customize the Text box in User Interface Dialog Box only... is there any way to do this ...(is it possible ??)

msdn i can c that there are no other attributes to customize the textbox in User Interface Dialog Box only visible ,value , Property .... no other options
....
Dec 18 '08 #6

Post your reply

Sign in to post your reply or Sign up for a free account.