updating files replaced by msp
Hi
I have an application which the vendor has supplied along with an .msp file to patch the install. The trouble is that after I have installed the app, and patched it, I then have to copy in some files to replace existing ones which are installed by the app.
I created a Transform and changed the files I needed to but when I ran the msp after installing the transformed msi, I got an error and the msp failed. I realise that a few of the files being updated by the msp are ones which I updated using the Transform therefore causing the msp to fail.
I know the best method would be to slipstream the msp into the msi and then create a transform for this, however when I do this the product does not show under Add/Remove Programs as 2 separate products (product and patch) as it does when I install the msi and then the patch. I need it to show as separate products one under the other so it is the only visual way for support staff to see that the patch has been installed.
The question is, am I best to install the transformed msi (including some of the updated files), then install the msp and then, using a vbs, copy down the few files (overwriting ones replaced by the msp) which I cannot include in the transform ? Or is there a better way ?
I hope this makes sense.
Thanks Graeme
I have an application which the vendor has supplied along with an .msp file to patch the install. The trouble is that after I have installed the app, and patched it, I then have to copy in some files to replace existing ones which are installed by the app.
I created a Transform and changed the files I needed to but when I ran the msp after installing the transformed msi, I got an error and the msp failed. I realise that a few of the files being updated by the msp are ones which I updated using the Transform therefore causing the msp to fail.
I know the best method would be to slipstream the msp into the msi and then create a transform for this, however when I do this the product does not show under Add/Remove Programs as 2 separate products (product and patch) as it does when I install the msi and then the patch. I need it to show as separate products one under the other so it is the only visual way for support staff to see that the patch has been installed.
The question is, am I best to install the transformed msi (including some of the updated files), then install the msp and then, using a vbs, copy down the few files (overwriting ones replaced by the msp) which I cannot include in the transform ? Or is there a better way ?
I hope this makes sense.
Thanks Graeme
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
nheim
15 years ago
Hi Graeme,
you already stated the best way: Create a single package.
To show the patch in ARP isn't necessary, the support people can check the MSI version. The version with the applied patch should be higher.
If this shouldn't be the case, you can change the version property by yourself or you change another property, which is showed in the support information dialog in ARP.
So, create an admin install point, apply the MSP and then you can change the necessary files right there, without the need for a transform, because the AIP has uncompressed files. However, a transform to alter the file table information would be good practice...
Regards, Nick
you already stated the best way: Create a single package.
To show the patch in ARP isn't necessary, the support people can check the MSI version. The version with the applied patch should be higher.
If this shouldn't be the case, you can change the version property by yourself or you change another property, which is showed in the support information dialog in ARP.
So, create an admin install point, apply the MSP and then you can change the necessary files right there, without the need for a transform, because the AIP has uncompressed files. However, a transform to alter the file table information would be good practice...
Regards, Nick
Posted by:
jmcfadyen
15 years ago
I agree with Nick.
Perhaps you can make use of some of the ARP properties to make it clear to your support team.
I just swiped these out of some current code I am working on to give you an idea of some of the properties you can search in the SDK .
<Property Id='ARPCONTACT'>!(loc.ArpContact)</Property>
<Property Id='ARPHELPLINK'>!(loc.ArpHelpLink)</Property>
<Property Id='ARPURLINFOABOUT'>!(loc.ArpUrlAbout)</Property>
<Property Id='ARPURLUPDATEINFO'>!(loc.ArpUrlUpdateInfo)</Property>
<Property Id='ARPSIZE'>!(loc.ArpSize)</Property>
<Property Id='ARPPRODUCTICON'>!(loc.ArpProduction)</Propert
Perhaps you can make use of some of the ARP properties to make it clear to your support team.
I just swiped these out of some current code I am working on to give you an idea of some of the properties you can search in the SDK .
<Property Id='ARPCONTACT'>!(loc.ArpContact)</Property>
<Property Id='ARPHELPLINK'>!(loc.ArpHelpLink)</Property>
<Property Id='ARPURLINFOABOUT'>!(loc.ArpUrlAbout)</Property>
<Property Id='ARPURLUPDATEINFO'>!(loc.ArpUrlUpdateInfo)</Property>
<Property Id='ARPSIZE'>!(loc.ArpSize)</Property>
<Property Id='ARPPRODUCTICON'>!(loc.ArpProduction)</Propert
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.