473,732 Members | 2,146 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Setup project Custom Action fails under Vista

Hi!

I have a deployment project made with Visual Studio 2003. The setup
fails when I run it in Vista. I have figured out that it only fails
when I have an Install Custom Action.
I have read in newsgroups that i should set the noImpersonate bit in
the MSI file and that I need Orca for that. So I did.
I have found the custom action and added 3584 to the Type field of
1025, like I read in http://msdn.microsoft.com/en-us/library/aa368069.aspx
I have also tried 3072 and 3328, but i now get msi error 2869. I have
opened a CMD box with administrator rights, and tried install again,
but i get the same msi error 2869.
I have no idea what to try now. Does anybody know how to solve this?

Kind regards,
Gerben H.
Sep 29 '08 #1
2 2834
I would try looking at what your custom action is attempting to do relative
to Vista's security systems before diving into editing properties in the MSI
database. Does your installation work as expected under XP?

"in************ *****@gmail.com " wrote:
Hi!

I have a deployment project made with Visual Studio 2003. The setup
fails when I run it in Vista. I have figured out that it only fails
when I have an Install Custom Action.
I have read in newsgroups that i should set the noImpersonate bit in
the MSI file and that I need Orca for that. So I did.
I have found the custom action and added 3584 to the Type field of
1025, like I read in http://msdn.microsoft.com/en-us/library/aa368069.aspx
I have also tried 3072 and 3328, but i now get msi error 2869. I have
opened a CMD box with administrator rights, and tried install again,
but i get the same msi error 2869.
I have no idea what to try now. Does anybody know how to solve this?

Kind regards,
Gerben H.
Sep 29 '08 #2
It's working ok under XP, but just adding a custom action, where I
override the Installer class, but don't implement any of my own code,
already gives an error in Vista. Any idea?
Sep 30 '08 #3

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

Similar topics

2
5362
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 works. Now, I am wondering if there is any way to change the directory that the installer installs the files to. I want to be able to put my files in a specified directory (user specified is good, but i don't mind hardcoding the path either) and...
3
5894
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 complete. This works great too, for web pages not associated with my new application. I would like to launch a web page that is part of the application that was just installed. The sample in MSDN shows using the following syntax:
4
2629
by: Bob | last post by:
Could anyone suggest me some examples/articles on creating a setup program in VS.NET that can install the assembly into the GAC? I have done some search and research myself and have some basic understanding on how to create a setup program. All the articles about Windows Installer 2.0 is the best way to install your assembly into GAC but I haven't found one shows what exactly I need to do differently in my VS.NET setup project in order...
2
353
by: Ricky | last post by:
I am doing setup and deployment for the first time in .NET. I have developed an application in VB.NET which uses a third party component. But in order for the component to work I need to register the component first. So I developed another applciation which does the registering automatically. So now I have 2 exe's. One exe registers the component and calls the actual second exe. When I am creating the setup I am selecting both the exe's...
4
20889
by: Joe | last post by:
I created a CustomAction for this but I don't think I have it in the right place. I tried both Install and Commit but neither allow it to get to the final screen. Are there any examples of this anywhere? Thanks, Joe
1
2267
by: mjobbe | last post by:
Hi, I'm creating an MSI for a client app using a Visual Studio Setup Project. I'm trying to detect if Internet Explorer is running on the target computer before I start the installation. How do I go about detecting this? Thanks.
1
3601
by: rohan_from_mars | last post by:
I have a windows service and am also using Enterprise Library June 2005 version. Now i have created Setup and Deployment Project which installs the service. but how do i add EL dlls- Common.dll, Logging.dll, Configuration.dll, Data.dll into setup project so that it is also installed automatically. It should perform what the 'Install Services.bat ' performs. I have created ProjectInstaller.cs file also
3
1594
by: John | last post by:
I created a setup project in VS 2003 to deploy a windows application. I'm able to run that installer in any windows xp m/c, when I try to install the setip in a vista m/c, it goes all the way and hangs at the end. I tried to create a small setup project in vs 2005 and I was able to run the setup in vista machine. So I'm wondering if there are any patch / fix for VS 2003 to run in vista? Thanks for your help.
6
4069
by: andrewbb | last post by:
I want to deploy a service with a windows app and the setup program must conform to the Vista certification requirements. Can that be done with the standard .net setup project? Assuming cost is an issue, what else is available?
0
8944
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9445
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9306
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8186
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6030
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4548
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4805
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2177
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.