Unable to install because a newer version of this product is already installed

MSI Log ================= Action 15:16:33: FindRelatedProducts. Searching for related applicationsAction start 15:16:33: FindRelatedProducts.FindRelatedProducts: Found application: {7F0093FD-CC7D-4464-98FE-CD0EFDF55D97}MSI (c) (80:DC) [15:16:33:579]: PROPERTY CHANGE: Adding NEWERPRODUCTFOUND property. Its value is ‘{7F0093FD-CC7D-4464-98FE-CD0EFDF55D97}’. I (c) (80:DC) [15:16:34:532]: Note: 1: 2262 2: Error 3: -2147287038 DEBUG: Error 2835:  The control ErrorIcon was not found on dialog ErrorDialogThe installer has encountered an…

3

ClickOnce Error: Value doesn’t Fall within the Expected Range

If ClickOnce Store gets Corrupted we get Error of “Value doesn’t Fall within the Expected Range” WorkaroundRemove Package Metadata registry Keys *HKEY_USERS\S-1-5-21-2146773085-903363285-719344707-241793_Classes(Sid Would be machine specific)\Software\Microsoft\Windows\CurrentVersion\Deployment\SideBySide\2.0\PackageMetadata\{2ec93463-b0c3-45e1-8364-327e96aea856}_{3f471841-eef2-47d6-89c0-d028f03a4ad5} *HKEY_USERS\S-1-5-21-2146773085-903363285-719344707-241793_Classes\Software\Microsoft\Windows\CurrentVersion\Deployment\SideBySide\2.0\PackageMetadata\{2ec93463-b0c3-45e1-8364-327e96aea856}_{60051b8f-4f12-400a-8e50-dd05ebd438d1} Note: Please take Back up of registry Before removing It.

1

WIX Installer Needs Elevation during Uninstall

WiX Installer consists of Actions that require elevation.The CustomActions are not designed to run under SystemContext. WiX does not generate a bootrapper setup.exe that can be used with an embedded manifest to say RequestedExecutionLevel = “RequireAdministrator”. When you install those MSI with Custom action on Vista and uninstallation using Add/Remove Programs will not run elevated…

1

Disable DEP on applications

Windows vista wont Allow ATL control on the machine. We have Data Execution Prevention to stop Executing ATL control on Vista. Workaround Add This Post Build Event call “$(DevEnvDir)..\tools\vsvars32.bat”editbin.exe /NXCOMPAT:NO $(TargetPath) However if you Disable DEP for your Winform Application and than create Visual studio project by Adding Project output to your Setup Project the…

2

Installation through MSI takes more time than XCOPY deployment

Patch on that product which was installed through XCOPY and it was installing in 39 second. migrate to MSI and When they install the Patch on MSI.Patch takes 5 to 10 min during installation this is not acceptable. Workaround to this issue is Elimination of self-registration custom actions during a patch install and uninstall using…


XML Serialization assemblies are not publised via ClickOnce after installing VS2008 SP1

A workaround to this problem is to go to the publish properties and then on the publish tab, select Application files and set the SEWOP_1_1_6_5/SEWOP.XmlSerializers.dll to exclude. Please add this to SGen Task<SGen BuildAssemblyName=”$(TargetFileName)” BuildAssemblyPath=”$(IntermediateOutputPath)” References=”@(ReferencePath)” ShouldGenerateSerializer=”$(SGenShouldGenerateSerializer)” UseProxyTypes=”$(SGenUseProxyTypes)” KeyContainer=”$(KeyContainerName)” KeyFile=”$(KeyOriginatorFile)” DelaySign=”$(DelaySign)” ToolPath=”$(SGenToolPath)” SerializationAssembly=”$(IntermediateOutputPath)$(_SGenDllName)” >If the serialization assembly already exists then Sgen does not create a…

1

Native Custom action on x64

If you create custom action through Visual studio 2005 which targets x64, You would see the Error During Build ” Entry point ‘xxxxxx’ not found in module ‘xxxxxx’ for custom action ‘Primary Output from xxxx'”   If you are using VS 2008 It will build the Application with couple of warning. But this application will…

1

Windows Installer Engine

The Windows platform has never had an integrated software-installation system. Instead, software developers have been responsible for creating their own installation routines  or Scripts To  copying data (Simple File Copy)To  add registry Entries To register component (COM)To Create Shortcuts (Shortcut Shouldn’t be created on Desktop, Validation to vista Logo certification would show ICE Error)COM+ run…

1