Problem with set_link (linkfolder)
Verfasst: 26 Apr 2016, 16:17
				
				Hi,
I have tried different approaches here, but none of them work.
The following i'm trying to establish: Installing the Google Chrome web browser and creating a shortcut on the desktop that opens the chrome browser with a webpage.
I've tried following code, but none of them work:
What am i missing here?
OPSI-WINST version 4.11.5.19
OS trying on: Win 7 SP1 X64 and also Win 10 X64
Thank you very much for your help.
Bye,
Tim
			I have tried different approaches here, but none of them work.
The following i'm trying to establish: Installing the Google Chrome web browser and creating a shortcut on the desktop that opens the chrome browser with a webpage.
I've tried following code, but none of them work:
Code: Alles auswählen
set_link
        name: Google Chrome
        target: "%ProgramFiles32Dir%\Google\Chrome\Application\chrome.exe" 
        parameters: http://www.microsoft.com
        working_dir: "%CurrentDesktopDir%\"
        icon_file:
        icon_index:
end_link
Code: Alles auswählen
set_link
        name: Google Chrome
        target: "%ProgramFiles32Dir%\Google\Chrome\Application\chrome.exe" 
        parameters: "http://www.microsoft.com"
        working_dir: "%CurrentDesktopDir%\"
        icon_file:
        icon_index:
end_link
Code: Alles auswählen
set_link
        name: Google Chrome
        target: "%ProgramFiles32Dir%\Google\Chrome\Application\chrome.exe" 
        parameters: 'http://www.microsoft.com'
        working_dir: "%CurrentDesktopDir%\"
        icon_file:
        icon_index:
end_link
Code: Alles auswählen
set_link
        name: Google Chrome
        target: "%ProgramFiles32Dir%\Google\Chrome\Application\chrome.exe" 
        parameters: --add-app http://www.microsoft.com
        working_dir: "%CurrentDesktopDir%\"
        icon_file:
        icon_index:
end_link
Code: Alles auswählen
set_link
        name: Google Chrome
        target: "%ProgramFiles32Dir%\Google\Chrome\Application\chrome.exe" 
        parameters: "--add-app http://www.microsoft.com"
        working_dir: "%CurrentDesktopDir%\"
        icon_file:
        icon_index:
end_link
Code: Alles auswählen
set_link
        name: Google Chrome
        target: "%ProgramFiles32Dir%\Google\Chrome\Application\chrome.exe"  "http://www.microsoft.com"
        parameters: 
        working_dir: "%CurrentDesktopDir%\"
        icon_file:
        icon_index:
end_link
Code: Alles auswählen
set_link
        name: Google Chrome
        target: "%ProgramFiles32Dir%\Google\Chrome\Application\chrome.exe"  http://www.microsoft.com
        parameters: 
        working_dir: "%CurrentDesktopDir%\"
        icon_file:
        icon_index:
end_link
OPSI-WINST version 4.11.5.19
OS trying on: Win 7 SP1 X64 and also Win 10 X64
Thank you very much for your help.
Bye,
Tim