O&O Defrag Professional 10: DESKTOPSHORTCUT
Hi,
when you run O&O Defrag setup in unattended mode with my command-line statement above, and you tell the msi not to create a desktopshortcut (DESKTOPSHORTCUT=0), this does not work. Desktopshortcut is always created.
Who can help?
Commandline:
"O&O Defrag Professional Edition.msi" LICCODE="xxxx-xxxx-xxxx-xxxx" LICUSER="MY-USER" LICCOMPANY="MY-COMPANY" DESKTOPSHORTCUT=0 SCREENSAVER=1 SHELLEXTENSION=1 SETDEFDEFRAG=1 REBOOT=REALLYSUPPRESS ALLUSERS=2 /passive
Manfred
when you run O&O Defrag setup in unattended mode with my command-line statement above, and you tell the msi not to create a desktopshortcut (DESKTOPSHORTCUT=0), this does not work. Desktopshortcut is always created.
Who can help?
Commandline:
"O&O Defrag Professional Edition.msi" LICCODE="xxxx-xxxx-xxxx-xxxx" LICUSER="MY-USER" LICCOMPANY="MY-COMPANY" DESKTOPSHORTCUT=0 SCREENSAVER=1 SHELLEXTENSION=1 SETDEFDEFRAG=1 REBOOT=REALLYSUPPRESS ALLUSERS=2 /passive
Manfred
0 Comments
[ + ] Show comments
Answers (9)
Please log in to answer
Posted by:
AngelD
15 years ago
While unchecking the "Create shortcut on desktop" checkbox the DESKTOPSHORTCUT property is removed.
[1952] MSI (c) (A0:70) [21:38:15:500]: PROPERTY CHANGE: Deleting DESKTOPSHORTCUT property. Its current value is '1'.
The component holding the shortcut has a condition of "DESKTOPSHORTCUT" so if you specify 0 as the value the condition will still resolve to true.
Shortcut table
Shortcut Directory_ Name Component_ Target Arguments Description Hotkey Icon_ IconIndex ShowCmd WkDir
oodcnt_ds.53480420_ED54_41F1_B802_5A3B83DAF067 DesktopFolder O&ODEF~1|O&O Defrag CmpContainerDesktopShortcut.53480420_ED54_41F1_B802_5A3B83DAF067 [INSTALLDIR.53480420_ED54_41F1_B802_5A3B83DAF067]oodcnt.exe Launches O&O Defrag oodcnt_ds.53480420_ED54_41F1_B802_5A3B83DAF067.exe 0 1
Component table
Component ComponentId Directory_ Attributes Condition KeyPath
CmpContainerDesktopShortcut.53480420_ED54_41F1_B802_5A3B83DAF067 {53480425-CA19-476C-822F-8DA0CD87DA80} INSTALLDIR.53480420_ED54_41F1_B802_5A3B83DAF067 4 DESKTOPSHORTCUT Registry5.53480420_ED54_41F1_B802_5A3B83DAF067
Either use a transform and remove the DESKTOPSHORTCUT property or specify DESKTOPSHORTCUT="" on the command line.
[1952] MSI (c) (A0:70) [21:38:15:500]: PROPERTY CHANGE: Deleting DESKTOPSHORTCUT property. Its current value is '1'.
The component holding the shortcut has a condition of "DESKTOPSHORTCUT" so if you specify 0 as the value the condition will still resolve to true.
Shortcut table
Shortcut Directory_ Name Component_ Target Arguments Description Hotkey Icon_ IconIndex ShowCmd WkDir
oodcnt_ds.53480420_ED54_41F1_B802_5A3B83DAF067 DesktopFolder O&ODEF~1|O&O Defrag CmpContainerDesktopShortcut.53480420_ED54_41F1_B802_5A3B83DAF067 [INSTALLDIR.53480420_ED54_41F1_B802_5A3B83DAF067]oodcnt.exe Launches O&O Defrag oodcnt_ds.53480420_ED54_41F1_B802_5A3B83DAF067.exe 0 1
Component table
Component ComponentId Directory_ Attributes Condition KeyPath
CmpContainerDesktopShortcut.53480420_ED54_41F1_B802_5A3B83DAF067 {53480425-CA19-476C-822F-8DA0CD87DA80} INSTALLDIR.53480420_ED54_41F1_B802_5A3B83DAF067 4 DESKTOPSHORTCUT Registry5.53480420_ED54_41F1_B802_5A3B83DAF067
Either use a transform and remove the DESKTOPSHORTCUT property or specify DESKTOPSHORTCUT="" on the command line.
Posted by:
msenn
15 years ago
Posted by:
anonymous_9363
15 years ago
Posted by:
AngelD
15 years ago
Posted by:
anonymous_9363
15 years ago
Posted by:
AngelD
15 years ago
Posted by:
msenn
15 years ago
Posted by:
AngelD
15 years ago
Yes.
Have a look at my "Monitor MSI installation actions in real time" comment at http://juice.altiris.com/article/1358/troubleshooting-wise-packages-with-windows-installer-log-files
Have a look at my "Monitor MSI installation actions in real time" comment at http://juice.altiris.com/article/1358/troubleshooting-wise-packages-with-windows-installer-log-files
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.