/build/static/layout/Breadcrumb_cap_w.png

Add program shortcuts to MSI

So I repackaged a non-MSI-based app. Along the way I created several MSI's that didn't work (I'd get error messages when I tried launching the program said I was missing some reg entries), and eventually one that did.

In the MSI that works, there weren't any program shortcuts on the desktop or in Start > Programs. But in one of my non-working MSI's, the shortcuts were there.

So I'm trying to add the shortcuts to my working MSI. I'm as far as having the shortcuts appear both on the desktop and in Start > Programs, but the program icon doesn't appear for either shortcut.

Here's my only clue: in the broken MSI that has the correct shortcuts, the Icon table lists "Icon1" for Name and "[Binary Data]" for Data, whereas my working MSI does not.

I just discovered I can't copy rows between MSI's, at least not with Orca, and I can't manually enter this data into my working MSI because "[Binary Data]" isn't a legit entry.

Reckon I should also mention that I have two shortcuts in the "Shortcut" table, and these I was able to manually recreate by typing in the data from the broken MSI.

So I'm guessing I need to do something in the "Icon" table; I'm just not sure what.

0 Comments   [ + ] Show comments

Answers (4)

Posted by: MSIPackager 15 years ago
3rd Degree Black Belt
0
You can copy and paste rows from the icon table in Orca (ctrl+shift+c / ctrl+shift+v).

Or you can write the contents of the binary column from the working MSI to a file on your PC (e.g. c:\temp\icon.ico) then read it back into the icon table of the broken one.


Cheers,
Rob.
Posted by: RonW 15 years ago
Green Belt
0
Well that's bizarre: I swear I tried every way I could think up to copy and paste rows between two MSI's but couldn't. Then I read your message, tried it again, and...it worked. Also saw how I could write the binary contents to a file, so thanks for that info too.

One extra question: I just noticed I have an extraneous uninstall entry in Add/Remove Programs which I assume is getting added via my MSI. I'm not sure how to go about tracking it down, and making sure I'm deleting the extraneous one as opposed to the correct one.
Posted by: AngelD 15 years ago
Red Belt
0
Did you check the Registry table for any Uninstall key entries?
Posted by: RonW 15 years ago
Green Belt
0
Bingo, that was it. Seems obvious now... [;)]
Thanks!
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ