Hello, My understanding of msiexec [msi] /qb or /passive is that the effect is much like if a user had accepted/defaulted all of the dialogs and continued through the installation process without stopping for coffee, tea of any other refreshments. I'm facing the problem where my understanding is obviously lacking. We have an installer where in the event of it's execution in Full UI mode, it updates and installs our software as expected. On the other hand in the event that we run the installer silently, only the files that have been changed between the previous installed version, and the new one are left, while all files that are not modified get wiped out.
I believe this is happening due to RemoveExistingProducts, and: <RemoveExistingProducts After="InstallFinalize" /> The question(s) I have is why would it not happen equally in Full UI and and Basic, and how do I stop it from wiping out the previous version? Thank you for your time, G Code segments: <Product Id="*" Name="P1" Language="1033" Version="$(var.ProductVersion)" Manufacturer="Manufacturer" UpgradeCode="$(var.UpgradeCode)"> <Upgrade Id="$(var.UpgradeCode)"> <UpgradeVersion Minimum="$(var.ProductVersion)" IncludeMinimum="no" OnlyDetect="yes" Language="1033" Property="NEWPRODUCTFOUND" /> <UpgradeVersion Minimum="$(var.RTMProductVersion)" IncludeMinimum="yes" Maximum="$(var.ProductVersion)" IncludeMaximum="no" Language="1033" Property="UPGRADEFOUND" OnlyDetect="no"/> </Upgrade> <CustomAction Id="PreventDowngrading" Error="Newer version already installed." /> <!-- Sequences --> <InstallExecuteSequence> <Custom Action="PreventDowngrading" After="FindRelatedProducts">NEWPRODUCTFOUND</Custom> <RemoveExistingProducts After="InstallFinalize" /> </InstallExecuteSequence> <InstallUISequence> <Custom Action="PreventDowngrading" After="FindRelatedProducts">NEWPRODUCTFOUND</Custom> </InstallUISequence> <Component Id="F1" Guid="{GUID}" Win64="no"> <File Id="F1.dll" Name="$(var.projectname.TargetFileName)" Source="$(var.projectname.TargetPath)" Checksum="yes" /> </Component> <Directory Id="TARGETDIR" Name="SourceDir"> <Merge Id="CRT" Language="0" SourceFile="$(var.CRT_SourceFile)" DiskId="1" /> <Merge Id="MFC" Language="0" SourceFile="$(var.MFC_SourceFile)" DiskId="1" /> . . Locations Files and Generic Stuff . <Feature Id="ProductFeature" Title="installer" Level="1"> <ComponentRef Id="F1" /> <ComponentRef Id="F2" /> <ComponentRef Id="F3" /> <ComponentRef Id="DriverComponent" /> <MergeRef Id="CRT" /> <MergeRef Id="MFC" /> <ComponentRef Id="F4" /> </Feature> <UIRef Id="WixUI_Minimal" /> </Product> ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users