In my earlier blog, I posted about how to create a transforms file to install a registry to 64 bit location in 64 bit OS using transforms in a 32 bit vendor MSI using Installshield tool.
So, in this current post I will explain how to achieve this using a simple ORCA tool.
1) Open the MSI using ORCA tool. Select Tansforms from the menu bar and click on New Transforms. This will create a new transforms where you can do the modifications.
2) Add a new row in Component table and create a new component and set the Attribute field to 256 as shown below.
Component attribute 256 - Set this bit to mark the component as a 64-bit component. (https://msdn.microsoft.com/en-us/library/aa368007(v=vs.85).aspx)
3) Add a row in FeatureComponents table and map the newly created component to an existing Feature.
4) Go to Registry table and select the registry for which needs to be installed to 64-bit path and set the Component field to the newly created obove component.
5) After doing the changes, select Generate Transforms from the Transforms Menu bar.
6)) Test for the functionality by executing the msi command along with the transforms file.
msiexec.exe /I "path to msi" TRANSFORMS="path to transforms file" /qb!
NOTE: Since the MSI is meant to be 32-bit, you can ignore the ICE 80 error instead of messing up with the MSI and changing its behavior and just document the acceptance of the ICE80.
So, in this current post I will explain how to achieve this using a simple ORCA tool.
1) Open the MSI using ORCA tool. Select Tansforms from the menu bar and click on New Transforms. This will create a new transforms where you can do the modifications.
2) Add a new row in Component table and create a new component and set the Attribute field to 256 as shown below.
Component attribute 256 - Set this bit to mark the component as a 64-bit component. (https://msdn.microsoft.com/en-us/library/aa368007(v=vs.85).aspx)
3) Add a row in FeatureComponents table and map the newly created component to an existing Feature.
4) Go to Registry table and select the registry for which needs to be installed to 64-bit path and set the Component field to the newly created obove component.
5) After doing the changes, select Generate Transforms from the Transforms Menu bar.
6)) Test for the functionality by executing the msi command along with the transforms file.
msiexec.exe /I "path to msi" TRANSFORMS="path to transforms file" /qb!
NOTE: Since the MSI is meant to be 32-bit, you can ignore the ICE 80 error instead of messing up with the MSI and changing its behavior and just document the acceptance of the ICE80.
No comments:
Post a Comment