|
Hi,
I have created an application that includes a setup project. The application installs fine on XP and most Vista machines however on a new Vista machine that we just got it won't install the registry information that I added to the setup project. It installs the registry info on the other Vista machines though.
Any help would be great, Thanks - Moved byYiChun ChenMSFTFriday, July 24, 2009 8:36 AMDeployment issue (From:.NET Framework Setup)
-
|
| morning developer Wednesday, July 22, 2009 6:37 PM |
Hi morning developer,
Is the computer 64bit?
Could you provide some information about the difference between this vista computer and the others?
Best Regards
Yichun Feng
- Marked As Answer bymorning developer Thursday, July 30, 2009 8:59 PM
-
|
| Yichun_Feng Thursday, July 30, 2009 2:13 AM |
Hi,
I have created an application along with a setup project to install it. It installs great on XP machines and on most Vista machines however there is an issue with one of the new Vista machines. Everything installs except for the registry values that I created in the setup project.
Any ideas would be great Thanks - Merged byMartin Xie - MSFTMSFTWednesday, July 29, 2009 10:00 AMUnable to merge thread
- Merged byMartin Xie - MSFTMSFTThursday, July 30, 2009 8:36 AMMerge it to keep them in the same topic.
-
|
| morning developer Wednesday, July 22, 2009 6:30 PM |
Could you specify which Registry Keys ? New Vista machines means those with Vista SP1/2 ? which editions?
Thanks  |
| Omie Wednesday, July 22, 2009 6:41 PM |
We tried it with SP1 and it didn't work. We then installed SP2 and it still didn't work.
The registry info is:
HKEY_LOCAL_MACHINE -> Software -> Company Name -> Application Name -> Path HKEY_LOCAL_MACHINE -> Software -> Company Name -> Application Name -> Version
Company Name doesnt' show up in the registry once the application has bee installed. There are no errors installing the application but all code that tries to reference those enteries fail because they don't exist.
Thanks |
| morning developer Wednesday, July 22, 2009 6:53 PM |
The only thing right now I can think of would be that on some Vista machines, UAC isenabled and the installer is not being ran in Administrator mode, thus not being able to modify the registry. Just athought.
Joseph |
| JoeTheComputerMan Thursday, July 23, 2009 12:38 AM |
Hi Morning developer, I am moving this thread from Base ".NET FrameworkSetup" forum to the "ClickOnce and Setup & Deployment Projects" forum, since the issue is related to deployment. There are more deployment experts in the "ClickOnce and Setup & Deployment Projects" forum. Thanks
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. |
| YiChun Chen Friday, July 24, 2009 8:36 AM |
Hi, You can try the following step to install your applicaiton. 1. Right click the cmd to run it as administrator. 2. Type "msiexec /i [Your msi file location]". Can you install it successfully? Sincerely, Kira Qian Please mark the replies as answers if they help and unmark if they don't. |
| Kira Qian Monday, July 27, 2009 2:42 AM |
Hi morning developer,
Is the computer 64bit?
Could you provide some information about the difference between this vista computer and the others?
Best Regards
Yichun Feng
- Marked As Answer bymorning developer Thursday, July 30, 2009 8:59 PM
-
|
| Yichun_Feng Thursday, July 30, 2009 2:13 AM |
Hi,
Installing for Vista has always to do with rights set on the machine.
As you want to set the registry and you are not installing on all computers as an administrator, then the "user" part of the registryis for that in Vista.
If it is a commercial application you should never try anything that needs administrator to startup a computer as administrator.
That is just the result from progress, to many persons has tried to violate others persons computers in past, somebecome really scared about the securitybehaviour of XP computers. Success
Cor |
| Cor Ligthert Thursday, July 30, 2009 4:14 AM |
Thanks for the help,
The issues was with the computer be a 64 bit machine so the 32 bit apps have a special place in the registry. |
| morning developer Thursday, July 30, 2009 9:01 PM |