Orca error with AI shortcuts - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

rconn
Posts: 70
Joined: Sat Mar 03, 2007 5:38 pm

Orca error with AI shortcuts

I'm creating a shortcut with the shortcut wizard. When I run the Orca validation tool, I get:

"ICE43 Error Component tci.exe_6 has non-advertised shortcuts. It should use a registry key under HKCU as its KeyPath, not a file."

If I check the "advertised shortcut" checkbox, this error goes away but the shortcut then loses all of the shell extensions (i.e., right click on the shortcut and it only displays a minimal popup menu).

What do I need to do to get the shortcut to both display the shell extensions and to pass the Orca validation?

Thanks.

Rex Conn
JP Software
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Rex,

We are aware of this ICE error. In a future version, the package organization generated automatically by AI will not cause this error anymore. Until then, you can use the Organization page to customize the organization of the resources from your package. More details about this ICE error:

http://msdn2.microsoft.com/en-us/library/aa368968.aspx

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
rconn
Posts: 70
Joined: Sat Mar 03, 2007 5:38 pm

Hi Gigi:

I don't understand what I need to change on the Organization page -- the MS docs you referenced talk about setting the RegistryKeyPath attribute bit & changing the KeyPath value, but I don't see anything on the Organization page to do that.

Or do I need to create a new feature and move the shortcuts there?

Rex Conn
JP Software
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Rex,

You can change the key path of the associated component. Use "Make Key Member" option from context menu.

http://www.advancedinstaller.com/user-g ... ation.html

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
rconn
Posts: 70
Joined: Sat Mar 03, 2007 5:38 pm

Hi Gigi:

None of the components on my Organization page have the "Make Key Member" menu option enabled. Do I need to create a new component first (presumably through the Registry page)?

Rex Conn
JP Software
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Rex,

You can create a dummy registry value and use its resource as key member for the shortcut component. Note that you can drag and drop resources to change the component they belong to. All operations you can do in "Organization" page are listed here:

http://www.advancedinstaller.com/user-g ... ation.html

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
rconn
Posts: 70
Joined: Sat Mar 03, 2007 5:38 pm

Hi Gigi:

I created the dummy registry entry, but when I dragged it to the existing shortcut component the "Make Key Member" menu entry was always disabled. I then tried dragging the existing shortcut component entry to the new dummy registry component, and that seems to be working. The installer is putting everything in the right place and Orca isn't complaining anymore.

Thanks!

Rex Conn
JP Software

Return to “Common Problems”