Problems with advertised shortcut!
Has anyone experienced this problem before?
I have added HKCU keys to the Nokia PC Suite 6.8 package and added the component to the LaunchApplication feature.
When launching the shortcut a self-repair occurs and then the following dialog is displayed.
If I click on Cancel and then launch the shortcut again everything works fine, so the error only occurs when self-healing occurs.
Any suggestions? Nothing is displayed in the Event logs or in the local MSI-logs.
I have added HKCU keys to the Nokia PC Suite 6.8 package and added the component to the LaunchApplication feature.
When launching the shortcut a self-repair occurs and then the following dialog is displayed.
If I click on Cancel and then launch the shortcut again everything works fine, so the error only occurs when self-healing occurs.
Any suggestions? Nothing is displayed in the Event logs or in the local MSI-logs.
0 Comments
[ + ] Show comments
Answers (13)
Please log in to answer
Posted by:
AngelD
17 years ago
Posted by:
mgroover
17 years ago
Original shortcut (non advertised):
"LAUNCH1.EXELaunchApplication.exe","PCSuiteStartFolder","NOKIAP~1|Nokia PC
Suite","LaunchApplication.exe","LaunchApplication","","","0","NewShortcut1_6
86D32A3E0BF41B1A4513B59D52466AB.exe","0","1",""
New shortcut (advertised):
"NokiaPCSuite","PCSuiteStartFolder","NOKIAP~1|Nokia PC
Suite","LaunchApplication_SC","[PCSUITE]LaunchApplication.exe","","","","New
Shortcut1_686D32A3E0BF41B1A4513B59D52466AB.exe","0","1",""
As you can see I nicked the old icon straight off, but that isn't the problem (tested without it, still the same).
"LAUNCH1.EXELaunchApplication.exe","PCSuiteStartFolder","NOKIAP~1|Nokia PC
Suite","LaunchApplication.exe","LaunchApplication","","","0","NewShortcut1_6
86D32A3E0BF41B1A4513B59D52466AB.exe","0","1",""
New shortcut (advertised):
"NokiaPCSuite","PCSuiteStartFolder","NOKIAP~1|Nokia PC
Suite","LaunchApplication_SC","[PCSUITE]LaunchApplication.exe","","","","New
Shortcut1_686D32A3E0BF41B1A4513B59D52466AB.exe","0","1",""
As you can see I nicked the old icon straight off, but that isn't the problem (tested without it, still the same).
Posted by:
AngelD
17 years ago
The entry should look like:
NokiaPCSuite PCSuiteStartFolder NOKIAP~1|Nokia PC Suite LaunchApplication.exe LaunchApplication NewShortcut1_686D32A3E0BF41B1A4513B59D52466AB.exe 0 1
Target column must be set to "LaunchApplication" to make the shortcut advertised as this is the feature holding the "LaunchApplication.exe" component.
The "New shortcut" is a non-advertised shortcut, "Original shortcut" is already an advertised shortcut.
NokiaPCSuite PCSuiteStartFolder NOKIAP~1|Nokia PC Suite LaunchApplication.exe LaunchApplication NewShortcut1_686D32A3E0BF41B1A4513B59D52466AB.exe 0 1
Target column must be set to "LaunchApplication" to make the shortcut advertised as this is the feature holding the "LaunchApplication.exe" component.
The "New shortcut" is a non-advertised shortcut, "Original shortcut" is already an advertised shortcut.
Posted by:
mgroover
17 years ago
Sorry, I mixed up the entries.
"LAUNCH1.EXELaunchApplication.exe","PCSuiteStartFolder","NOKIAP~1|Nokia PC
Suite","LaunchApplication.exe","LaunchApplication","","","0","NewShortcut1_6
86D32A3E0BF41B1A4513B59D52466AB.exe","0","1",""
This was the modified one. So the target is entirely correct.
The strange thing is that it repairs the missing components from the LaunchApplication feature but is unable to launch the exe-file.
Will do some script that shoots in the keys instead but still, would like to know a solution to it..
"LAUNCH1.EXELaunchApplication.exe","PCSuiteStartFolder","NOKIAP~1|Nokia PC
Suite","LaunchApplication.exe","LaunchApplication","","","0","NewShortcut1_6
86D32A3E0BF41B1A4513B59D52466AB.exe","0","1",""
This was the modified one. So the target is entirely correct.
The strange thing is that it repairs the missing components from the LaunchApplication feature but is unable to launch the exe-file.
Will do some script that shoots in the keys instead but still, would like to know a solution to it..
Posted by:
AngelD
17 years ago
Posted by:
mgroover
17 years ago
At the moment the company standard defines that no shortcuts are to be placed on the desktop so I have removed them. Since the Nokia PC Sync and PC Suite main application both give remarks about that they will be minimized to the application tray and that you can reach them from either the apptray or from the shortcut on the desktop the customer wanted the entries to be "preticked" in the "do not display again" dialog so the end-user won't be bothered by it.
The MSI-log gives me no errors at all and that's why I'm confused. It looks like everything is 100% ok, the component is repaired correctly. Going with the VB-script solution putting the entries into HKCU on launching the shortcut instead.
Btw, always nice to see swedes on this forum.. Stockholm-based myself, you? :D
The MSI-log gives me no errors at all and that's why I'm confused. It looks like everything is 100% ok, the component is repaired correctly. Going with the VB-script solution putting the entries into HKCU on launching the shortcut instead.
Btw, always nice to see swedes on this forum.. Stockholm-based myself, you? :D
Posted by:
AngelD
17 years ago
Posted by:
AngelD
17 years ago
Posted by:
mgroover
17 years ago
Well, as we say in Stockholm.. If we are the bellybutton of Sweden, that makes Gothenburg.. Well.. Ehrm.. The a-hole.. :D Just kidding.. hehe.
Get the same problem just advertising the shortcut without adding the HKCU keys.
Very very strange, I've never stumbled upon one of these problems before during the 3 years I've been packaging..
Ohwell, it works now anyway.. The lazy way! :D
Get the same problem just advertising the shortcut without adding the HKCU keys.
Very very strange, I've never stumbled upon one of these problems before during the 3 years I've been packaging..
Ohwell, it works now anyway.. The lazy way! :D
Posted by:
AngelD
17 years ago
Posted by:
mgroover
17 years ago
Posted by:
AngelD
17 years ago
Posted by:
nheim
17 years ago
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.