Most likely your code is crashing, the custom action, if the subject line is 
the issue. That part of the log would have been more useful. that something 
about Win64. My guess is that you have an uninstall custom action which assumes 
that the properties you are using (SERVERNAME, DATABASENAME) are preserved 
somewhere. They are not. It might be that you don't want to run that custom 
action at uninstall time, if so you need a condition on the custom action, 
perhaps something like Not Installed, so it runs only at install time. 

Phil W 

________________________________________
From: Rajeshkannan Krishnamoorthy [rajeshkannan.kr...@gmail.com]
Sent: Tuesday, May 29, 2012 11:45 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] MSI Uninstall throw exception

 Hi,

I am new to Wix. I have created MSI for DB deployment.
I can able to run and install the DB in DB server. But when i want to
uninstall the MSI from Add/Remove programs, its not uninstalling. Then I
check the log file
it shows like

MSI (s) (D0:30) [11:57:42:286]: WIN64DUALFOLDERS: Substitution in
'C:\Program Files
(x86)\MyDatabase\Tenix.Nova.Database_Database.sqldeployment' folder had
been blocked by the 1 mask argument (the folder pair's iSwapAttrib member =
0).
MSI (s) (D0:30) [11:57:42:287]: Allowing uninstallation of shared
component: {45A30C59-37F5-4096-A937-92CA66D8F8F4}. Other clients exist, but
installed to a different location

I dont know where is the problem. Can some one help me to find the solution.

Thanks for help.

My code details

<CustomAction Id="LaunchNova"
         Property="NovaSchema"
         Value="&quot;[#vsdbcmd.exe]&quot; /a:Deploy
/cs:&quot;Server=[SERVERNAME];Integrated Security=true;&quot; /dsp:Sql /dd+
/manifest:&quot;[#Database1.deploymanifest]&quot;
/p:DeployDatabaseProperties=False /p:AlwaysCreateNewDatabase=False
/p:TargetDatabase=&quot;[DATABASENAME]&quot;"
         Execute="immediate"/>
  <!--Define the custom action to execute vsdbcmd.exe-->
  <CustomAction Id="NovaSchema" BinaryKey="WixCA" DllEntry="CAQuietExec"
Execute="deferred" Return="check" Impersonate="yes"/>
    <CustomAction Id="LaunchRBAC"
                  Property="RBACSchema"
                  Value="&quot;[#vsdbcmd.exe]&quot; /a:Deploy
/cs:&quot;Server=[SERVERNAME];Integrated Security=true;&quot; /dsp:Sql /dd+
/script:tenix.nova.Database.RBAC.sql /P:PerformDatabaseBackup=True
/p:DeployDatabaseProperties=False /p:AlwaysCreateNewDatabase=False
/Model:&quot;[#Database2.dbschema]&quot;
/manifest:&quot;[#Database1.deploymanifest]&quot;
/p:TargetDatabase=&quot;[DATABASENAME]&quot;"
         Execute="immediate"/>
    <CustomAction Id="RBACSchema" BinaryKey="WixCA" DllEntry="CAQuietExec"
Execute="deferred" Return="check" Impersonate="yes"/>
    <CustomAction Id="LaunchWorkflow"
                  Property="WorkflowSchema"
                  Value="&quot;[#vsdbcmd.exe]&quot; /a:Deploy
/cs:&quot;Server=[SERVERNAME];Integrated Security=true;&quot; /dsp:Sql /dd+
/script:tenix.nova.Database.Workflow.sql /p:DeployDatabaseProperties=False
/p:AlwaysCreateNewDatabase=False /Model:&quot;[#Database4.dbschema]&quot;
/manifest:&quot;[#Database1.deploymanifest]&quot;
/p:TargetDatabase=&quot;[DATABASENAME]&quot;"
         Execute="immediate"/>
    <CustomAction Id="WorkflowSchema" BinaryKey="WixCA"
DllEntry="CAQuietExec" Execute="deferred" Return="check" Impersonate="yes"/>
    <CustomAction Id="LaunchGCI"
                  Property="GCISchema"
                  Value="&quot;[#vsdbcmd.exe]&quot; /a:Deploy
/cs:&quot;Server=[SERVERNAME];Integrated Security=true;&quot; /dsp:Sql /dd+
/script:tenix.nova.Database.GCI.sql /p:DeployDatabaseProperties=False
/p:AlwaysCreateNewDatabase=False /Model:&quot;[#Database1.dbschema]&quot;
/manifest:&quot;[#Database1.deploymanifest]&quot;
/p:TargetDatabase=&quot;[DATABASENAME]&quot;"
         Execute="immediate"/>
    <CustomAction Id="GCISchema" BinaryKey="WixCA" DllEntry="CAQuietExec"
Execute="deferred" Return="check" Impersonate="yes"/>
    <CustomAction Id="LaunchBatch"
                  Property="BatchSchema"
                  Value="&quot;[#vsdbcmd.exe]&quot; /a:Deploy
/cs:&quot;Server=[SERVERNAME];Integrated Security=true;&quot; /dsp:Sql /dd+
/script:tenix.nova.Database.Batch.sql /p:DeployDatabaseProperties=False
/p:AlwaysCreateNewDatabase=False /Model:&quot;[#Database3.dbschema]&quot;
/manifest:&quot;[#Database1.deploymanifest]&quot;
/p:TargetDatabase=&quot;[DATABASENAME]&quot;"
         Execute="immediate"/>
    <CustomAction Id="BatchSchema" BinaryKey="WixCA" DllEntry="CAQuietExec"
Execute="deferred" Return="check" Impersonate="yes"/>
    <CustomAction Id="SetUpgrading" Property="Upgrading" Value="true"/>
    <CustomAction Id="PreventDowngrading" Error="Newer version already
installed." />

    <!--Define when the two custom actions will be executed-->
  <InstallExecuteSequence>
      <Custom Action="LaunchRBAC" Before="InstallFiles"/>
      <Custom Action="RBACSchema" After="InstallFiles"/>
      <Custom Action="LaunchWorkflow" Before="InstallFiles"/>
      <Custom Action="WorkflowSchema" After="RBACSchema"/>
      <Custom Action="LaunchGCI" Before="InstallFiles"/>
      <Custom Action="GCISchema" After="WorkflowSchema"/>
      <Custom Action="LaunchBatch" Before="InstallFiles"/>
      <Custom Action="BatchSchema" After="GCISchema"/>
      <!--<Custom Action="LaunchKPI" Before="InstallFiles"/>
      <Custom Action="KPISchema" After="InstallFiles"/>-->
      <Custom Action="LaunchNova" Before="InstallFiles"/>
      <Custom Action="NovaSchema" After="BatchSchema">
        <!--Only run this custom action if a certain feature is being
installed-->
        <![CDATA[&ProductFeature=3 AND NOT REMOVE]]>
      </Custom>
      <Custom Action="SetUpgrading" After="FindRelatedProducts">
        UPGRADEFOUND AND NOT (REMOVE="ALL")
      </Custom>
      <!--<Custom Action="PreventDowngrading"
After="FindRelatedProducts">UPGRADEFOUND</Custom> -->
      <RemoveExistingProducts  Before="InstallInitialize" >REMOVE="ALL"
</RemoveExistingProducts>
    </InstallExecuteSequence>
    <InstallUISequence>
      <Custom Action="SetUpgrading" After="FindRelatedProducts">
        UPGRADEFOUNDD AND NOT (REMOVE="ALL")
      </Custom>
      <!--<Custom Action="PreventDowngrading"
After="FindRelatedProducts">UPGRADEFOUND</Custom>-->
    </InstallUISequence>

  <Directory Id="TARGETDIR" Name="SourceDir">
   <Directory Id="ProgramFilesFolder">
    <Directory Id="INSTALLLOCATION" Name="MyDatabase">
     <Directory Id="Extensions" Name="Extensions">
      <Directory Id="SqlServer" Name="SqlServer">
       <Directory Id="__2008" Name="2008">
        <Directory Id="DbSchemas" Name="DbSchemas">
        </Directory>
       </Directory>
      </Directory>
     </Directory>
    </Directory>
   </Directory>
  </Directory>

Regards
Rajesh Krishnamoorthy
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 
7AW (Registered number 166023). For a list of European legal entities within 
the Invensys Group, please go to http://www.invensys.com/en/legal/default.aspx.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
recept...@invensys.com. This e-mail and any attachments thereto may be subject 
to the terms of any agreements between Invensys (and/or its subsidiaries and 
affiliates) and the recipient (and/or its subsidiaries and affiliates).



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to