Nero 8.3.2.1b Shortcut Issue
Hi All,
Nero 8.3.2.1b application is a vendor msi and I have created mst through orca. This MSI is delivering Non-Advertised (Command-Line) Shortcuts under "Start Menu\Programs\Nero 8". But I need to create Advertised Shortcuts. I have disabled default shortcut by commenting NeroAg_FileAssociation which is doing file association and creating non advertised shortcut . I have added the Advertised shrotcuts through shortcut table with its corresponding Feature.
The shortcuts are added in the corresponding components and the components are having key path also. but after installation I'm not getting any shortcuts.
Can you please help me out with this issue.
Nero 8.3.2.1b application is a vendor msi and I have created mst through orca. This MSI is delivering Non-Advertised (Command-Line) Shortcuts under "Start Menu\Programs\Nero 8". But I need to create Advertised Shortcuts. I have disabled default shortcut by commenting NeroAg_FileAssociation which is doing file association and creating non advertised shortcut . I have added the Advertised shrotcuts through shortcut table with its corresponding Feature.
The shortcuts are added in the corresponding components and the components are having key path also. but after installation I'm not getting any shortcuts.
Can you please help me out with this issue.
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
AngelD
16 years ago
Did you create a correct Shortcut table entry?
Could look something like:
Shortcut Directory_ Name Component_ Target Arguments Description Hotkey Icon_ IconIndex ShowCmd WkDir
NeroShortcut MyDirectory Nero ComponentOfNero.exe FeatureHoldingTheComponentOfNero.exe 0 MyIconFromTheIconTable.exe IconIndexFromMyIconFromTheIconTable.exe 1
What does a verbose log say during install?
Could look something like:
Shortcut Directory_ Name Component_ Target Arguments Description Hotkey Icon_ IconIndex ShowCmd WkDir
NeroShortcut MyDirectory Nero ComponentOfNero.exe FeatureHoldingTheComponentOfNero.exe 0 MyIconFromTheIconTable.exe IconIndexFromMyIconFromTheIconTable.exe 1
What does a verbose log say during install?
Posted by:
MSIPackager
16 years ago
Getting a vendor MSI to advertise and install property is usually a bit of a headache unless it's been authored well in the first place. Vendors usually disable advertising one way or another as it's easier for them.
What are the attributes on the feature which your shortcut component is in? msidbFeatureAttributesDisallowAdvertise has an attribute of 8 so you can remove that for starters http://msdn.microsoft.com/en-us/library/aa368585(VS.85).aspx
Other things to consider are as the layout of the Feature table (feature parents etc) and the FeatureComponents table - you may want to move all components into a top level feature and use that feature for your shortut to ensure everything gets installed when the advertised shortcut is run. Also, there may be certain custom action which may not execute properly if you advertise the install...
Probably worth validating the transformed package as there may be some errors which are preventing advertising which you can look at.
It's a while since I've had to worry about advertising vendor supplied MSIs but I hope these suggestions help you in some way.
Cheers,
Rob.
What are the attributes on the feature which your shortcut component is in? msidbFeatureAttributesDisallowAdvertise has an attribute of 8 so you can remove that for starters http://msdn.microsoft.com/en-us/library/aa368585(VS.85).aspx
Other things to consider are as the layout of the Feature table (feature parents etc) and the FeatureComponents table - you may want to move all components into a top level feature and use that feature for your shortut to ensure everything gets installed when the advertised shortcut is run. Also, there may be certain custom action which may not execute properly if you advertise the install...
Probably worth validating the transformed package as there may be some errors which are preventing advertising which you can look at.
It's a while since I've had to worry about advertising vendor supplied MSIs but I hope these suggestions help you in some way.
Cheers,
Rob.
Posted by:
nheim
16 years ago
Hi Jagadeesan,
Nero is one of the worst MSI packages, i have ever seen.
They do a lot of stuff with Custom Action, which would not be neccessary, if this people would read the MSI specification.
However, if this should ever work, you need to add the "CreateShortcuts" action with a sequence of around 4500 to the
"InstallExecuteSequence" table.
And take Robs advice serious, as every single feature in this package has the "msidbFeatureAttributesDisallowAdvertise" attribute set.
Regards, Nick
Nero is one of the worst MSI packages, i have ever seen.
They do a lot of stuff with Custom Action, which would not be neccessary, if this people would read the MSI specification.
However, if this should ever work, you need to add the "CreateShortcuts" action with a sequence of around 4500 to the
"InstallExecuteSequence" table.
And take Robs advice serious, as every single feature in this package has the "msidbFeatureAttributesDisallowAdvertise" attribute set.
Regards, Nick
Posted by:
jagadeesan
16 years ago
Hi,
Thanks... I have added "CreateShortcuts" action with a sequence of around 4500 to the "InstallExecuteSequence" table. Then the shortcuts are created. but in the stanadard user when i launch the NeroExpress and Nero Burning Rom it is prompting lot of unable to register error for dll and ax and exe files. I think it is happening because of selfregex table entries but how to reslove this issue..
can you please help me out with is issue..
Thanks... I have added "CreateShortcuts" action with a sequence of around 4500 to the "InstallExecuteSequence" table. Then the shortcuts are created. but in the stanadard user when i launch the NeroExpress and Nero Burning Rom it is prompting lot of unable to register error for dll and ax and exe files. I think it is happening because of selfregex table entries but how to reslove this issue..
can you please help me out with is issue..
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.