Hi,

Thanks for your update, your response is helped for me.

I have three more questions.

1. I followed the below code to uninstall the installed msi file.

Managed code:

   SyncBA.Model.Engine.Detect();
            
   SyncBA.hwnd = IntPtr.Zero;  

   SyncBA.Model.Engine.Plan(LaunchAction.Uninstall);

   SyncBA.Model.Engine.Apply(SyncBA.hwnd);

Bundle.wxs:

<MsiPackage Id="SketchUpPlugin" Name="Wixdata"
SourceFile="C:\Users\Kannanns\Documents\Visual Studio
2010\Projects\TestSetup\TestSetup\bin\Debug\TestSetup.msi" Compressed="yes"
DisplayInternalUI="no" ForcePerMachine="yes" Permanent="yes" Vital="yes"
EnableFeatureSelection="yes" />

Product.wxs:

<Product Id="*" Name="TestSetup" Language="1033" Version="1.0.0.0"
Manufacturer="Syncfusion Inc"
UpgradeCode="0da7b743-225c-4223-89a8-7dd81988a14a">
                <Package InstallerVersion="200" Compressed="yes" 
InstallScope="perMachine"
/>

                <MajorUpgrade DowngradeErrorMessage="A newer version of 
[ProductName] is
already installed." />
                <MediaTemplate />
    
    <Property Id="USER_INTERFACE" Value="TRUE" />
    <Binary Id="modifysamplepath"
SourceFile="..\PropertyValues.cs\bin\Debug\PropertyValues.cs.CA.dll" />
    <CustomAction Id="MODIFYSAMPLEPATH" BinaryKey="modifysamplepath"
DllEntry="Checking" Return="ignore" Execute="immediate" />
    
    <Feature Id="ProductFeature2" Title="TestSetup1" Level="1">
      <ComponentRef Id="licenseagreement"/>
      <Condition Level="0">USER_INTERFACE="TRUE"</Condition>
      <Feature Id="imageFeature22" Title="Images" Level="1">
        <ComponentRef Id="image"/>
      </Feature>
                        
                </Feature>
    <Feature Id="imageFeature4" Title="Images" Level="1">
      <ComponentRef Id="image"/>
    </Feature>
    <Feature Id="imageFeature6" Title="Images" Level="1">
      <ComponentRef Id="image"/>
    </Feature>
        </Product>


 but i cannot find the uninstallation process.

2. I need to rollback the installation when i click the cancel button. What
i need to do for rollback all the installed files?

3. Now i have only the application(exe) developed by wix 3.6, where can i
get the msi file for silent installation or any other way to install
silently?

Could you please help with the sample code.

Thanks,
Kannan

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Planning-package-customization-tp6040489p7578894.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
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