1 - I don't know. Modify your bootstrapper code so it launches your
MSI's with /lvx* <logfile>? Maybe search Microsoft support site & find
this http://support.microsoft.com/kb/223300 ? It's only the first result
in Google when I typed "Windows Installer logging" into the search
field.

2 - Read what I asked again. C# isn't WiX. What your DLL is supposed to
do when called doesn't matter, your problem is that Windows Installer
can't find it which I suspect is due to your Custom Action code having
issues.

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer

-----Original Message-----
From: Velu [mailto:velusa...@syncfusion.com] 
Sent: 13 May 2010 10:47
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Dialog Next Button Error in Custom Action


1) I can't able to check the verbose log. Because we are generating the
MSI and use some bootstrapper for prerequisites and then generated the
exe. How we can generate the LOg for the exe ?

2) This is my custom action code.

using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Deployment.WindowsInstaller;
using System.Diagnostics;
using System.IO;


namespace SamplesValidation
{
    public class CustomAction
    {
        [CustomAction]
        public static ActionResult SamplesValidation(Session session)
        {
            try
            {

                string sample_path;

                sample_path = session["CHECKBOX_1_PROP"];

           
                if (sample_path == "TRUE")
                {
                    session["BI_CHART_SILVERLIGHT_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["BI_GRID_SILVERLIGHT_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["BI_GAUGE_SILVERLIGHT_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["BI_TOOLSCLIENT_ASP_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["BI_GRID_ASP_SAMPLES_UNLOCKED"] = "TRUE";
                    session["BI_CHART_ASP_SAMPLES_UNLOCKED"] = "TRUE";
                    session["BI_TOOLSCLIENT_WPF_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["BI_GAUGE_WPF_SAMPLES_UNLOCKED"] = "TRUE";
                    session["BI_GRID_WPF_SAMPLES_UNLOCKED"] = "TRUE";
                    session["BI_CHART_WPF_SAMPLES_UNLOCKED"] = "TRUE";
                    session["WINDOWS_FORMS_GROUPING_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["WINDOWS_FORMS_XLSIO_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["WINDOWS_FORMS_CALCULATE_SAMPLES_UNLOCKED"]
= "TRUE";
                    session["WINDOWS_FORMS_PDF_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["WINDOWS_FORMS_DOCIO_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["ASP.NET_GROUPING_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["ASP.NET_XLSIO_SAMPLES_UNLOCKED"] = "TRUE";
                    session["ASP.NET_CALCULATE_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["ASP.NET_PDF_SAMPLES_UNLOCKED"] = "TRUE";
                    session["ASP.NET_DOCIO_SAMPLES_UNLOCKED"] = "TRUE";
                    session["WPF_CALCULATE_SAMPLES_UNLOCKED"] = "TRUE";
                    session["WPF_DOCIO_SAMPLES_UNLOCKED"] = "TRUE";
                    session["WPF_PDF_SAMPLES_UNLOCKED"] = "TRUE";
                    session["WPF_XLSIO_SAMPLES_UNLOCKED"] = "TRUE";
                    session["SILVERLIGHT_DOCIO_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["SILVERLIGHT_PDF_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["SILVERLIGHT_XLSIO_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["ASP.NET_MVC_DOCIO_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["ASP.NET_MVC_PDF_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["ASP.NET_MVC_XLSIO_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["WINDOWS_FORMS_TOOLS_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["WINDOWS_FORMS_GRID_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["WINDOWS_FORMS_CHART_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["WINDOWS_FORMS_DIAGRAM_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["WINDOWS_FORMS_EDIT_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["WINDOWS_FORMS_HTMLUI_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["WINDOWS_FORMS_SCHEDULE_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["ASP.NET_TOOLS_SAMPLES_UNLOCKED"] = "TRUE";
                    session["ASP.NET_GRID_SAMPLES_UNLOCKED"] = "TRUE";
                    session["ASP.NET_CHART_SAMPLES_UNLOCKED"] = "TRUE";
                    session["ASP.NET_SCHEDULE_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["ASP.NET_DIAGRAM_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["ASP.NET_MVC_TOOLS_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["ASP.NET_MVC_CHART_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["ASP.NET_MVC_GRID_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["ASP.NET_MVC_GAUGE_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["ASP.NET_MVC_SCHEDULE_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["SILVERLIGHT_DIAGRAM_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["SILVERLIGHT_SCHEDULE_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["SILVERLIGHT_GAUGE_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["SILVERLIGHT_CHART_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["SILVERLIGHT_TOOLS_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["SILVERLIGHT_GRID_SAMPLES_UNLOCKED"] =
"TRUE";
                    session["WPF_SCHEDULE_SAMPLES_UNLOCKED"] = "TRUE";
                    session["WPF_DIAGRAM_SAMPLES_UNLOCKED"] = "TRUE";
                    session["WPF_GAUGE_SAMPLES_UNLOCKED"] = "TRUE";
                    session["WPF_EDIT_SAMPLES_UNLOCKED"] = "TRUE";
                    session["WPF_GRID_SAMPLES_UNLOCKED"] = "TRUE";
                    session["WPF_CHART_SAMPLES_UNLOCKED"] = "TRUE";
                    session["WPF_TOOLS_SAMPLES_UNLOCKED"] = "TRUE";
                }
                else
                {
                    session["BI_CHART_SILVERLIGHT_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["BI_GRID_SILVERLIGHT_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["BI_GAUGE_SILVERLIGHT_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["BI_TOOLSCLIENT_ASP_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["BI_GRID_ASP_SAMPLES_UNLOCKED"] = "FALSE";
                    session["BI_CHART_ASP_SAMPLES_UNLOCKED"] = "FALSE";
                    session["BI_TOOLSCLIENT_WPF_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["BI_GAUGE_WPF_SAMPLES_UNLOCKED"] = "FALSE";
                    session["BI_GRID_WPF_SAMPLES_UNLOCKED"] = "FALSE";
                    session["BI_CHART_WPF_SAMPLES_UNLOCKED"] = "FALSE";
                    session["WINDOWS_FORMS_GROUPING_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["WINDOWS_FORMS_XLSIO_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["WINDOWS_FORMS_CALCULATE_SAMPLES_UNLOCKED"]
= "FALSE";
                    session["WINDOWS_FORMS_PDF_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["WINDOWS_FORMS_DOCIO_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["ASP.NET_GROUPING_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["ASP.NET_XLSIO_SAMPLES_UNLOCKED"] = "FALSE";
                    session["ASP.NET_CALCULATE_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["ASP.NET_PDF_SAMPLES_UNLOCKED"] = "FALSE";
                    session["ASP.NET_DOCIO_SAMPLES_UNLOCKED"] = "FALSE";
                    session["WPF_CALCULATE_SAMPLES_UNLOCKED"] = "FALSE";
                    session["WPF_DOCIO_SAMPLES_UNLOCKED"] = "FALSE";
                    session["WPF_PDF_SAMPLES_UNLOCKED"] = "FALSE";
                    session["WPF_XLSIO_SAMPLES_UNLOCKED"] = "FALSE";
                    session["SILVERLIGHT_DOCIO_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["SILVERLIGHT_PDF_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["SILVERLIGHT_XLSIO_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["ASP.NET_MVC_DOCIO_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["ASP.NET_MVC_PDF_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["ASP.NET_MVC_XLSIO_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["WINDOWS_FORMS_TOOLS_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["WINDOWS_FORMS_GRID_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["WINDOWS_FORMS_CHART_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["WINDOWS_FORMS_DIAGRAM_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["WINDOWS_FORMS_EDIT_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["WINDOWS_FORMS_HTMLUI_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["WINDOWS_FORMS_SCHEDULE_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["ASP.NET_TOOLS_SAMPLES_UNLOCKED"] = "FALSE";
                    session["ASP.NET_GRID_SAMPLES_UNLOCKED"] = "FALSE";
                    session["ASP.NET_CHART_SAMPLES_UNLOCKED"] = "FALSE";
                    session["ASP.NET_SCHEDULE_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["ASP.NET_DIAGRAM_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["ASP.NET_MVC_TOOLS_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["ASP.NET_MVC_CHART_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["ASP.NET_MVC_GRID_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["ASP.NET_MVC_GAUGE_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["ASP.NET_MVC_SCHEDULE_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["SILVERLIGHT_DIAGRAM_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["SILVERLIGHT_SCHEDULE_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["SILVERLIGHT_GAUGE_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["SILVERLIGHT_CHART_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["SILVERLIGHT_TOOLS_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["SILVERLIGHT_GRID_SAMPLES_UNLOCKED"] =
"FALSE";
                    session["WPF_SCHEDULE_SAMPLES_UNLOCKED"] = "FALSE";
                    session["WPF_DIAGRAM_SAMPLES_UNLOCKED"] = "FALSE";
                    session["WPF_GAUGE_SAMPLES_UNLOCKED"] = "FALSE";
                    session["WPF_EDIT_SAMPLES_UNLOCKED"] = "FALSE";
                    session["WPF_GRID_SAMPLES_UNLOCKED"] = "FALSE";
                    session["WPF_CHART_SAMPLES_UNLOCKED"] = "FALSE";
                    session["WPF_TOOLS_SAMPLES_UNLOCKED"] = "FALSE";
                }
            }
            catch (Exception ex)
            { }
            return ActionResult.Success;
        }
    }
}



--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Dialog-Nex
t-Button-Error-in-Custom-Action-tp5045343p5045386.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------
------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to