Creating new shortcut icons in Modify or Repair mode
Updated: 21 May 2010 | 9 comments
Is it possible to create new icons images in repair or modify mode.
i.e if I just want to deploy new images to the icons during a Modify or a Repair mode... is that possible ?
With Regards
Prafful Sharma
discussion Filed Under:
Comments
repair
only if the images were already present in the original MSI but not selected.
ie in another feature etc.
I suspect thats not what you want, from the looks you want to add resources to an msi then repair it as opposed to uninstall / reinstall.
if this is your requirement perhaps patching is a better method. This has some dependancies on feature structure etc..
You cannot change the MSI
You cannot change the MSI information during a repair and therefore not make this "requrest".
Is it a big problem for the current user already having the application installed?
If not then just update the original MSI so the changes will take place to the next user getting the installation.
If you would like to "fix" this for the users already having the application installed then perform a reinstall with an update (original) MSI.
You could also just change the registry entry under its "...\uninstall\<ProductCode> reg key as a quick-fix and further update the cached MSI + cached storage for the ICON being used.
Or overwrite the cached MSI
If you change the images in the cached MSI, then you could probably get away with just copying the modified cached msi to the c:\windows\installer folder on affected machines, to overwrite the existing MSI. Then running a repair should present the new images, but of course it will result in a repair of the entire feature containing the shortcuts, which in turn may require access to the original source.
Next time, try and get it right in the original MSI !!
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
I guess a repair would work
I guess a repair would work IF you used the ARPPRODUCTICON as this is used by the RegisterProduct action.
If add the ARP icon through Registry table then it would depend if the Component holding the registry entry is found broken or forcing it by adding the "m" option to the REINSTALLMODE property (use the property through the commandline).
ARPPRODUCTICON only affects icon in Add/Remove products
Kim,
Not sure how ARPPRODUCTICON fits in to this question, as I assume the OP is asking about start menu shortcut icons, and not the add/remove product icon.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
hmm, I thought the OP was
hmm, I thought the OP was talking about changing the icon (picture/image) in ARP for the package.
Not really clear, is it...?
I'm assuming since the question referred to "icons" rather than "icon", that the issue was with start menu icons.
However, it's not really that clear, is it...??
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
hmm, I thought the OP was
hmm, I thought the OP was talking about changing the icon (picture/image) in ARP for the package.
Not really clear, is it...?
I'm assuming since the question referred to "icons" rather than "icon", that the issue was with start menu icons.
However, it's not really that clear, is it...??
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Would you like to reply?
Login or Register to post your comment.