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=""[#vsdbcmd.exe]" /a:Deploy /cs:"Server=[SERVERNAME];Integrated Security=true;" /dsp:Sql /dd+ /manifest:"[#Database1.deploymanifest]" /p:DeployDatabaseProperties=False /p:AlwaysCreateNewDatabase=False /p:TargetDatabase="[DATABASENAME]"" 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=""[#vsdbcmd.exe]" /a:Deploy /cs:"Server=[SERVERNAME];Integrated Security=true;" /dsp:Sql /dd+ /script:tenix.nova.Database.RBAC.sql /P:PerformDatabaseBackup=True /p:DeployDatabaseProperties=False /p:AlwaysCreateNewDatabase=False /Model:"[#Database2.dbschema]" /manifest:"[#Database1.deploymanifest]" /p:TargetDatabase="[DATABASENAME]"" Execute="immediate"/> <CustomAction Id="RBACSchema" BinaryKey="WixCA" DllEntry="CAQuietExec" Execute="deferred" Return="check" Impersonate="yes"/> <CustomAction Id="LaunchWorkflow" Property="WorkflowSchema" Value=""[#vsdbcmd.exe]" /a:Deploy /cs:"Server=[SERVERNAME];Integrated Security=true;" /dsp:Sql /dd+ /script:tenix.nova.Database.Workflow.sql /p:DeployDatabaseProperties=False /p:AlwaysCreateNewDatabase=False /Model:"[#Database4.dbschema]" /manifest:"[#Database1.deploymanifest]" /p:TargetDatabase="[DATABASENAME]"" Execute="immediate"/> <CustomAction Id="WorkflowSchema" BinaryKey="WixCA" DllEntry="CAQuietExec" Execute="deferred" Return="check" Impersonate="yes"/> <CustomAction Id="LaunchGCI" Property="GCISchema" Value=""[#vsdbcmd.exe]" /a:Deploy /cs:"Server=[SERVERNAME];Integrated Security=true;" /dsp:Sql /dd+ /script:tenix.nova.Database.GCI.sql /p:DeployDatabaseProperties=False /p:AlwaysCreateNewDatabase=False /Model:"[#Database1.dbschema]" /manifest:"[#Database1.deploymanifest]" /p:TargetDatabase="[DATABASENAME]"" Execute="immediate"/> <CustomAction Id="GCISchema" BinaryKey="WixCA" DllEntry="CAQuietExec" Execute="deferred" Return="check" Impersonate="yes"/> <CustomAction Id="LaunchBatch" Property="BatchSchema" Value=""[#vsdbcmd.exe]" /a:Deploy /cs:"Server=[SERVERNAME];Integrated Security=true;" /dsp:Sql /dd+ /script:tenix.nova.Database.Batch.sql /p:DeployDatabaseProperties=False /p:AlwaysCreateNewDatabase=False /Model:"[#Database3.dbschema]" /manifest:"[#Database1.deploymanifest]" /p:TargetDatabase="[DATABASENAME]"" 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