spot7.org logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML Categories

Custom Action for Wix Installer failing after first time run


Without seeing your entire WiX file, it will be hard to tell you what is going wrong. There are many elements which may be blocking it. But from what it sounds like, I don't think the custom action is firing in the case overinstall.

In my other answer to your other question which got you this far, I suggested putting:

        session.Log("Begin
WriteFileToDisk");

In your customAction. This is exactly the reason - for debugging. In the SECOND time you run the installer, do you see those lines (for Begin and End) in the output log?

Lastly, a tool that might help you will be the ORCA.exe tool.
http://msdn.microsoft.com/en-us/library/aa370557%28v=vs.85%29.aspx

That tool will let you open your msi file, and see all the configurations that were setup. So you can see if there is a condition set for your custom action being called.


Categories : C#

Related to : Custom Action for Wix Installer failing after first time run
Why is my Tickets controller create action failing?
You're missing the user_id attribute when making the POST request And it's because of this line: <td><%= f.label :user_id, "User Name" %></td> you meant to write <td><%= f.hidden_field :user_id, value: current_user.id %></td>

Categories : Ruby On Rails
Use Java Spark after filter to run custom action when a 404 happens
I solved this one using wildcard routes. Instead of calling the after method, I added a route for each of the HTTP methods that binds the "*" route. It's important to have them at the bottom of the your Main method so if no route gets resolved these ones always get triggered. Here's an example: import static spark.Spark.*; public class MyApp { public static void main(String[] args) {

Categories : Misc
don't fill parent custom layout for action bar
change onTabSelected to this: you should define LinearLayout.LayoutParams to your custom layout actionbar public void onTabSelected(Tab tab, FragmentTransaction ft) { // TODO Auto-generated method stub final ActionBar actionbar = getActionBar(); View cView=null; LinearLayout.LayoutParams param = new LinearLayout.LayoutParams( LayoutParams.MATCH_PARENT, Layo

Categories : Android
cannot update attribute within users model in custom action
Your form is not submitting the values properly may be. So inspect your params in the binery select action. record#update_attributes doesn't take a single value, it accepts hash. So the proper code should be something like: rails version < 4 if @user.update_attributes(params[:user]) in rails 4.* if @user.update_attributes(user_params) in controller make sure you have permitted the user p

Categories : Ruby On Rails
IISConfig.exe arguments for custom action in Microsoft Release Management
Find the details of the IIS tool here: http://msdn.microsoft.com/en-us/library/dn550726.aspx Scroll to IIS Deployment Agent. There does not seem to be any way to change the Load User Profile. You can write your own tool to accomplish that (and share it here :))

Categories : Iis
Recently Add
How to call a method in .cs file which was implemented in code behind?
How To Prevent $variables In Restangular Post Request
Windows Phone 8 VoIP SIP Provider
How do we set the AutoCAD layer viewport override values
Load Dependent DLL using reflection
The code is not showing any error but still not displaying data on the datagrid of webform.?
Make an Image that can be flipped over in Unity 4.6
Storing JSON REST response in object
which is more efficient in conditional looping?
WebBrowser control's shortcut keys are not working
C# SQL INSERT not appearing in database table "no errors or exceptions thrown"
c# winfrom treeview class binding
How to Convert string "00h:03m:30s:793ms" to TimeSpan in c#
Calling a parameterized Stored Procedure that returns a value in C#
How to use the SQL statement to transform the data from row record to column record
How to Instantiate Enemy Prefabs Without Knowing the Name
MVC JQuery unobtrusive validation
How to draw at top left of metaFile
How to make Aggregate Root method only accessible for a Domain Event and nothing else.
how to create a list of lists from one list using LINQ?
Ignore user roles in ASP .Net MVC 5 Identity
Xpath Web scrape
add property to interface
How can I make controls added to existing mark-up be automatically hooked up to the code behind?
Too much data in C# windows form combobox, taking 30 sec to show the windows form
Creating a scrolling grid of images using WPF and XAML
PHP equivalent to asp.net routing
LINQ aggregate query
Custom Control won't fill dock correctly
Get ASP.NET Identity Current User In View
© Copyright 2017 spot7.org Publishing Limited. All rights reserved.