Problem with desktop icons

Antworten
carles
Beiträge: 22
Registriert: 17 Jul 2012, 08:41

Problem with desktop icons

Beitrag von carles »

Dear all,

When opsi installs a software package, it does it using an administrator account, the issue that i'm facing is since the users in my domain are not local administrator or power users, they can not move the icons that appear in their screen after some opsi installations, I managed to make the installation of some programs to do not create this icons, but that doesn't seems always possible. Somebody knows a workaround for this?

This is not an issue related directly with opsi, is more how the behaviour of windows in a domain works, so let me apologize for that, opsi will be soon very productive for our company.

Thank you very much.

Carles
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3319
Registriert: 04 Jun 2008, 14:27

Re: Problem with desktop icons

Beitrag von d.oertel »

Hi,

your problem is that many programs create Desktop icons in the 'All Users' or 'public' area.
That is normally a good idea.
If you do not want this Icons, you may remove them in your opsi script after the installation using a 'LinkFolder' section.

Does this help ?

regards

d.oertel
opsi support - uib gmbh

For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org
carles
Beiträge: 22
Registriert: 17 Jul 2012, 08:41

Re: Problem with desktop icons

Beitrag von carles »

Hello D.oertel,

Thank you as always, I tried with this before check exit codes on my setup.ins script, but it doesn't work, I also tried with changing set_basefolder to "c:\Users\Public\Desktop" that is where the icons are being installed. What I'm doing wrong? :oops: ProductId and the name of the icon coincide.

[LinkFolder_uninstall]
set_basefolder common_desktopdirectory
set_subfolder ""
delete_element $ProductId$

Thank you very much

Car;es
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3319
Registriert: 04 Jun 2008, 14:27

Re: Problem with desktop icons

Beitrag von d.oertel »

Hi,

I do not see a problem at your code.
Please just post the log of this part of your script

regards

d.oertel
opsi support - uib gmbh

For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org
carles
Beiträge: 22
Registriert: 17 Jul 2012, 08:41

Re: Problem with desktop icons

Beitrag von carles »

Any advice will be welcomed... I know this is not so elegant:

Code: Alles auswählen

; ----------------------------------------------------------------
; - Please edit the following values -
; ----------------------------------------------------------------
;$ProductId$ should be the name of the product in opsi
; therefore please: only lower letters, no umlauts,
; no white space use '-' as a seperator
Set $ProductId$ = "skype"
Set $Version$ = "5.10"
Set $MinimumSpace$ = "3 MB"
; the path were we find the product after the installation
Set $InstallDir32$ = "%ProgramFilesDir%\7-Zip"
Set $InstallDir64$ = "%ProgramFilesDir%\7-Zip"
Set $LicenseRequired$ = "false"
Set $LicensePool$ = "p_" + $ProductId$
Set $Inst_Prg$ = "skype.exe"
; Set $Uninst_Prg$ = "uninstall.exe"
Set $Inst_Cmd32$ = '/verysilent'
Set $Inst_Cmd64$ = '/verysilent'
; ----------------------------------------------------------------

if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$))
LogError "Not enough space on %SystemDrive%, " + $MinimumSpace$ + " on drive %SystemDrive% needed for " + $ProductId$
isFatalError
; Stop process and set installation status to failed
else
comment "Show product picture"
ShowBitmap "%ScriptPath%\" + $ProductId$ + ".jpg" $ProductId$

if FileExists("%ScriptPath%\delsub.ins")
comment "Start uninstall sub section"
Sub "%ScriptPath%\delsub.ins"
endif

if $LicenseRequired$ = "true"
comment "Licensing required, reserve license and get license key"
Sub_get_licensekey
endif

comment "installing"

if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only")
Message "Installing " + $ProductId$ + " 32 Bit..."
comment "Start setup program"
Winbatch_install_32
Sub_check_exitcode
endif

if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only"))
Message "Installing " + $ProductId$ + " 64 Bit..."
comment "Start setup program"
Winbatch_install_64
Sub_check_exitcode
endif

endif

[Winbatch_install_32]
%ScriptPath%\$Inst_Prg$ $Inst_Cmd32$
; regedit /S "%ScriptPath%\TightVNC.reg"

[Winbatch_install_64]
%ScriptPath%\$Inst_Prg$ $Inst_Cmd32$
; regedit /S "%ScriptPath%\TightVNC_win7.reg"


[LinkFolder_uninstall]
; Example of deleting a shortcut from AllUsers desktop:
;
set_basefolder common_desktopdirectory
set_subfolder ""
delete_element $ProductId$

[Sub_check_exitcode]
comment "Test for installation success via exit code"
set $ExitCode$ = getLastExitCode
; informations to exit codes see
; http://msdn.microsoft.com/en-us/library/aa372835(VS.85).aspx
; http://msdn.microsoft.com/en-us/library/aa368542.aspx
if ($ExitCode$ = "0")
comment "Looks good: setup program gives exitcode zero"
else
comment "Setup program gives a exitcode unequal zero: " + $ExitCode$
if ($ExitCode$ = "1605")
comment "ERROR_UNKNOWN_PRODUCT 1605 This action is only valid for products that are currently installed."
comment "Uninstall of a not installed product failed - no problem"
else
if ($ExitCode$ = "1641")
comment "looks good: setup program gives exitcode 1641"
comment "ERROR_SUCCESS_REBOOT_INITIATED 1641 The installer has initiated a restart. This message is indicative of a success."
else
if ($ExitCode$ = "3010")
comment "looks good: setup program gives exitcode 3010"
comment "ERROR_SUCCESS_REBOOT_REQUIRED 3010 A restart is required to complete the install. This message is indicative of a success."
else
logError "Fatal: Setup program gives an unknown exitcode unequal zero: " + $ExitCode$
isFatalError
endif
endif
endif
endif
I renamed skypefullinstall.exe to skype.exe, it installs well, just that i don't manage to delete the icon from /Public/Desktop

Thank You
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3319
Registriert: 04 Jun 2008, 14:27

Re: Problem with desktop icons

Beitrag von d.oertel »

Hi,

you have

Code: Alles auswählen

Set $ProductId$ = "skype"
Is there a file skype.lnk in c:\users\public\Desktop ?

Please post also the log (c:\tmp\instlog.txt)

regards

d.oertel
opsi support - uib gmbh

For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org
carles
Beiträge: 22
Registriert: 17 Jul 2012, 08:41

Re: Problem with desktop icons

Beitrag von carles »

Hello d.oertel,

Yes, the file is there C:\Users\Public\Desktop\Skype.Ink , I checked changing the product id also from "skype" to "Skype", but no look.

Here my inslog

Code: Alles auswählen

[1] [8/27/2012 11:16:41] opsi-winst 4.11.2.9 started at >>8/27/2012 11:16:40
[1] [8/27/2012 11:16:41] startmessage winst created at CentralForm.FormCreate: 8/27/2012 11:16:40
[1] [8/27/2012 11:16:41] startmessage StartProgramModes and create log: 8/27/2012 11:16:40
[1] [8/27/2012 11:16:41] startmessage start opsi service connection: 8/27/2012 11:16:40
[1] [8/27/2012 11:16:41] startmessage create log: 8/27/2012 11:16:41
[6] [8/27/2012 11:16:41] JSON service request https://172.20.180.81:4447/rpc getDepotId
[6] [8/27/2012 11:16:41] JSON service request https://172.20.180.81:4447/rpc backend_setOptions
[6] [8/27/2012 11:16:41] JSON service request https://172.20.180.81:4447/rpc productOnClient_getObjects
[5] [8/27/2012 11:16:41] Computername:carlesvb.midoti.net
[5] [8/27/2012 11:16:41] Computername according to Environment Variable :CARLESVB
[5] [8/27/2012 11:16:41] opsi service URL https://172.20.180.81:4447
[5] [8/27/2012 11:16:41] Depot path:  p:\
[5] [8/27/2012 11:16:41] 
[5] [8/27/2012 11:16:41] bootmode BKSTD
[5] [8/27/2012 11:16:41] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[5] [8/27/2012 11:16:41] Resolved sequence of products (8/27/2012 11:16:41): 
[5] [8/27/2012 11:16:41] Product 10 	skype : setup
[5] [8/27/2012 11:16:41] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6] [8/27/2012 11:16:42] JSON service request https://172.20.180.81:4447/rpc getProductProperties_hash
[6] [8/27/2012 11:16:42] JSON service request https://172.20.180.81:4447/rpc getProduct_hash
[6] [8/27/2012 11:16:42] JSON service request https://172.20.180.81:4447/rpc productOnClient_getObjects
[5] [8/27/2012 11:16:42] scriptname: "setup.ins", special path: "p:\skype\"
[6] [8/27/2012 11:16:42] JSON service request https://172.20.180.81:4447/rpc productOnClient_updateObject
[1] [8/27/2012 11:16:42] 
[1] [8/27/2012 11:16:42] ============ Version 4.11.2.9 WIN32 script "p:\skype\setup.ins"
[1] [8/27/2012 11:16:42]              start: 2012-08-27  11:16:42 
[1] [8/27/2012 11:16:42]              on client named    "carlesvb.midoti.net"
[1] [8/27/2012 11:16:42]              loggedin user    "cc250080"
[1] [8/27/2012 11:16:42]              winst running as    "SYSTEM"
[1] [8/27/2012 11:16:42]              winst running with admin privileges
[1] [8/27/2012 11:16:42]              winst running in standard script mode
[1] [8/27/2012 11:16:42] [executing: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-winst\winst32.exe"]
[1] [8/27/2012 11:16:42] system infos:
[1] [8/27/2012 11:16:42] 08-00-27-32-5C-57  -  PC hardware address
[1] [8/27/2012 11:16:42] CARLESVB.midoti.net  -  IP name 
[1] [8/27/2012 11:16:42] 10.0.2.15  -  IP address
[1] [8/27/2012 11:16:42] ENU  -  System default locale 
[1] [8/27/2012 11:16:42] MS Windowds 6.1 64 Bit
[1] [8/27/2012 11:16:42] opsi service version : 4
[1] [8/27/2012 11:16:42] 
[6] [8/27/2012 11:16:42] Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion]  opened
[6] [8/27/2012 11:16:42] Key closed
[4] [8/27/2012 11:16:42] Warning: depricated: <LogLevel=> please use <setLogLevel=> 
[1] [8/27/2012 11:16:42] LogLevel was 6
[1] [8/27/2012 11:16:42] LogLevel set to 13
[5] [8/27/2012 11:16:42] 
[5] [8/27/2012 11:16:42] Set  $INST_SystemType$ = GetSystemType
[6] [8/27/2012 11:16:42]   The value of the variable "$INST_SystemType$" is now: "64 Bit System"
[5] [8/27/2012 11:16:42] 
[5] [8/27/2012 11:16:42] Set  $INST_architecture$ = GetProductProperty("install_architecture","system specific")
[6] [8/27/2012 11:16:42]   The value of the variable "$INST_architecture$" is now: "system specific"
[5] [8/27/2012 11:16:42] 
[5] [8/27/2012 11:16:42] Set  $LogDir$ = "C:\tmp"
[6] [8/27/2012 11:16:42]   The value of the variable "$LogDir$" is now: "C:\tmp"
[5] [8/27/2012 11:16:42] 
[5] [8/27/2012 11:16:42] Set  $ProductId$ = "Skype"
[6] [8/27/2012 11:16:42]   The value of the variable "$ProductId$" is now: "Skype"
[5] [8/27/2012 11:16:42] 
[5] [8/27/2012 11:16:42] Set  $Version$ = "5.10"
[6] [8/27/2012 11:16:42]   The value of the variable "$Version$" is now: "5.10"
[5] [8/27/2012 11:16:42] 
[5] [8/27/2012 11:16:42] Set  $MinimumSpace$ = "3 MB"
[6] [8/27/2012 11:16:42]   The value of the variable "$MinimumSpace$" is now: "3 MB"
[5] [8/27/2012 11:16:42] 
[5] [8/27/2012 11:16:42] Set  $InstallDir32$ = "C:\Program Files (x86)\7-Zip"
[6] [8/27/2012 11:16:42]   The value of the variable "$InstallDir32$" is now: "C:\Program Files (x86)\7-Zip"
[5] [8/27/2012 11:16:42] 
[5] [8/27/2012 11:16:42] Set  $InstallDir64$ = "C:\Program Files (x86)\7-Zip"
[6] [8/27/2012 11:16:42]   The value of the variable "$InstallDir64$" is now: "C:\Program Files (x86)\7-Zip"
[5] [8/27/2012 11:16:42] 
[5] [8/27/2012 11:16:42] Set  $LicenseRequired$ = "false"
[6] [8/27/2012 11:16:42]   The value of the variable "$LicenseRequired$" is now: "false"
[5] [8/27/2012 11:16:42] 
[5] [8/27/2012 11:16:42] Set  $LicensePool$ = "p_" + $ProductId$
[6] [8/27/2012 11:16:42]   The value of the variable "$LicensePool$" is now: "p_Skype"
[5] [8/27/2012 11:16:42] 
[5] [8/27/2012 11:16:42] Set  $Inst_Prg$ = "skype.exe"
[6] [8/27/2012 11:16:42]   The value of the variable "$Inst_Prg$" is now: "skype.exe"
[5] [8/27/2012 11:16:42] 
[5] [8/27/2012 11:16:42] Set  $Inst_Cmd32$ = '/verysilent'
[6] [8/27/2012 11:16:42]   The value of the variable "$Inst_Cmd32$" is now: "/verysilent"
[5] [8/27/2012 11:16:42] 
[5] [8/27/2012 11:16:42] Set  $Inst_Cmd64$ = '/verysilent'
[6] [8/27/2012 11:16:42]   The value of the variable "$Inst_Cmd64$" is now: "/verysilent"
[5] [8/27/2012 11:16:42] 
[5] [8/27/2012 11:16:42] If
[6] [8/27/2012 11:16:42]     Free on Disk C:: 19,329,859,584 bytes  This is more than the required amount of 3,000,000 bytes
[5] [8/27/2012 11:16:42]   HasMinimumSpace ("C:", $MinimumSpace$)   <<< result true
[5] [8/27/2012 11:16:42]   not(HasMinimumSpace ("C:", $MinimumSpace$))   <<< result false
[5] [8/27/2012 11:16:42] Then
[5] [8/27/2012 11:16:42] 
[5] [8/27/2012 11:16:42] Else
[5] [8/27/2012 11:16:42]   comment: Show product picture
[5] [8/27/2012 11:16:42]   
[5] [8/27/2012 11:16:42]   If
[6] [8/27/2012 11:16:42]       Starting query if file exist ...
[5] [8/27/2012 11:16:42]       "P:\skype\delsub.ins": File Error 2 (The system cannot find the file specified.
)
[5] [8/27/2012 11:16:42]     FileExists("P:\skype\delsub.ins")   <<< result false
[5] [8/27/2012 11:16:42]   Then
[5] [8/27/2012 11:16:42]   EndIf
[5] [8/27/2012 11:16:42]   
[5] [8/27/2012 11:16:42]   If
[5] [8/27/2012 11:16:42]     $LicenseRequired$ = "true"   <<< result false
[5] [8/27/2012 11:16:42]   Then
[5] [8/27/2012 11:16:42]   EndIf
[5] [8/27/2012 11:16:42]   comment: installing
[5] [8/27/2012 11:16:42]   
[5] [8/27/2012 11:16:42]   If
[5] [8/27/2012 11:16:42]     $INST_SystemType$ = "x86 System"   <<< result false
[5] [8/27/2012 11:16:42]     $INST_architecture$ = "system specific"   <<< result true
[5] [8/27/2012 11:16:42]     ($INST_architecture$ = "system specific")   <<< result true
[5] [8/27/2012 11:16:42]     ($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")   <<< result false
[5] [8/27/2012 11:16:42]     $INST_architecture$ = "both"   <<< result false
[5] [8/27/2012 11:16:42]     $INST_architecture$ = "32 only"   <<< result false
[5] [8/27/2012 11:16:42]     ($INST_architecture$ = "32 only")   <<< result false
[5] [8/27/2012 11:16:42]     ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only")   <<< result false
[5] [8/27/2012 11:16:42]     (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only")   <<< result false
[5] [8/27/2012 11:16:42]   Then
[5] [8/27/2012 11:16:42]   EndIf
[5] [8/27/2012 11:16:42]   
[5] [8/27/2012 11:16:42]   If
[5] [8/27/2012 11:16:42]     $INST_SystemType$ = "64 Bit System"   <<< result true
[5] [8/27/2012 11:16:42]     $INST_architecture$ = "system specific"   <<< result true
[5] [8/27/2012 11:16:42]     $INST_architecture$ = "both"   <<< result false
[5] [8/27/2012 11:16:42]     $INST_architecture$ = "64 only"   <<< result false
[5] [8/27/2012 11:16:42]     ($INST_architecture$ = "64 only")   <<< result false
[5] [8/27/2012 11:16:42]     ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only")   <<< result false
[5] [8/27/2012 11:16:42]     ($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only")   <<< result true
[5] [8/27/2012 11:16:42]     (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only"))   <<< result true
[5] [8/27/2012 11:16:42]     ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only"))   <<< result true
[5] [8/27/2012 11:16:42]   Then
[5] [8/27/2012 11:16:42]     message Installing Skype 64 Bit...
[5] [8/27/2012 11:16:42]     comment: Start setup program
[5] [8/27/2012 11:16:42]     
[5] [8/27/2012 11:16:42]     Execution of Winbatch_install_64
[6] [8/27/2012 11:16:42]       Call "P:\skype\skype.exe /verysilent"
[6] [8/27/2012 11:16:42]          Waiting until the called process is finished
[7] [8/27/2012 11:16:44]       Waiting for ending at 8/27/2012 11:16:44 exitcode is: 259
[7] [8/27/2012 11:16:45]       Waiting for ending at 8/27/2012 11:16:45 exitcode is: 259
[7] [8/27/2012 11:16:46]       Waiting for ending at 8/27/2012 11:16:46 exitcode is: 259
[7] [8/27/2012 11:16:47]       Waiting for ending at 8/27/2012 11:16:47 exitcode is: 259
[7] [8/27/2012 11:16:48]       Waiting for ending at 8/27/2012 11:16:48 exitcode is: 259
[7] [8/27/2012 11:16:49]       Waiting for ending at 8/27/2012 11:16:49 exitcode is: 259
[7] [8/27/2012 11:16:50]       Waiting for ending at 8/27/2012 11:16:50 exitcode is: 259
[7] [8/27/2012 11:16:51]       Waiting for ending at 8/27/2012 11:16:51 exitcode is: 259
[7] [8/27/2012 11:16:52]       Waiting for ending at 8/27/2012 11:16:52 exitcode is: 259
[7] [8/27/2012 11:16:53]       Waiting for ending at 8/27/2012 11:16:53 exitcode is: 259
[7] [8/27/2012 11:16:54]       Waiting for ending at 8/27/2012 11:16:54 exitcode is: 259
[7] [8/27/2012 11:16:55]       Waiting for ending at 8/27/2012 11:16:55 exitcode is: 259
[7] [8/27/2012 11:16:56]       Waiting for ending at 8/27/2012 11:16:56 exitcode is: 259
[7] [8/27/2012 11:16:57]       Waiting for ending at 8/27/2012 11:16:57 exitcode is: 259
[7] [8/27/2012 11:16:58]       Waiting for ending at 8/27/2012 11:16:58 exitcode is: 259
[7] [8/27/2012 11:16:59]       Waiting for ending at 8/27/2012 11:16:59 exitcode is: 259
[7] [8/27/2012 11:17:00]       Waiting for ending at 8/27/2012 11:17:00 exitcode is: 259
[7] [8/27/2012 11:17:01]       Waiting for ending at 8/27/2012 11:17:01 exitcode is: 259
[7] [8/27/2012 11:17:02]       Waiting for ending at 8/27/2012 11:17:02 exitcode is: 259
[7] [8/27/2012 11:17:03]       Waiting for ending at 8/27/2012 11:17:03 exitcode is: 259
[7] [8/27/2012 11:17:04]       Waiting for ending at 8/27/2012 11:17:04 exitcode is: 259
[7] [8/27/2012 11:17:05]       Waiting for ending at 8/27/2012 11:17:05 exitcode is: 259
[7] [8/27/2012 11:17:06]       Waiting for ending at 8/27/2012 11:17:06 exitcode is: 259
[7] [8/27/2012 11:17:07]       Waiting for ending at 8/27/2012 11:17:07 exitcode is: 259
[7] [8/27/2012 11:17:08]       Waiting for ending at 8/27/2012 11:17:08 exitcode is: 259
[7] [8/27/2012 11:17:09]       Waiting for ending at 8/27/2012 11:17:09 exitcode is: 259
[7] [8/27/2012 11:17:10]       Waiting for ending at 8/27/2012 11:17:10 exitcode is: 259
[7] [8/27/2012 11:17:11]       Waiting for ending at 8/27/2012 11:17:11 exitcode is: 259
[7] [8/27/2012 11:17:12]       Waiting for ending at 8/27/2012 11:17:12 exitcode is: 259
[7] [8/27/2012 11:17:13]       Waiting for ending at 8/27/2012 11:17:13 exitcode is: 259
[7] [8/27/2012 11:17:14]       Waiting for ending at 8/27/2012 11:17:14 exitcode is: 259
[7] [8/27/2012 11:17:15]       Waiting for ending at 8/27/2012 11:17:15 exitcode is: 259
[7] [8/27/2012 11:17:16]       Waiting for ending at 8/27/2012 11:17:16 exitcode is: 259
[7] [8/27/2012 11:17:17]       Waiting for ending at 8/27/2012 11:17:17 exitcode is: 259
[7] [8/27/2012 11:17:18]       Waiting for ending at 8/27/2012 11:17:18 exitcode is: 259
[7] [8/27/2012 11:17:19]       Waiting for ending at 8/27/2012 11:17:19 exitcode is: 259
[7] [8/27/2012 11:17:20]       Waiting for ending at 8/27/2012 11:17:20 exitcode is: 259
[7] [8/27/2012 11:17:21]       Waiting for ending at 8/27/2012 11:17:21 exitcode is: 259
[7] [8/27/2012 11:17:22]       Waiting for ending at 8/27/2012 11:17:22 exitcode is: 259
[7] [8/27/2012 11:17:23]       Waiting for ending at 8/27/2012 11:17:23 exitcode is: 259
[7] [8/27/2012 11:17:24]       Waiting for ending at 8/27/2012 11:17:24 exitcode is: 259
[7] [8/27/2012 11:17:25]       Waiting for ending at 8/27/2012 11:17:25 exitcode is: 259
[7] [8/27/2012 11:17:26]       Waiting for ending at 8/27/2012 11:17:26 exitcode is: 259
[7] [8/27/2012 11:17:27]       Waiting for ending at 8/27/2012 11:17:27 exitcode is: 259
[7] [8/27/2012 11:17:28]       Waiting for ending at 8/27/2012 11:17:28 exitcode is: 259
[7] [8/27/2012 11:17:29]       Waiting for ending at 8/27/2012 11:17:29 exitcode is: 259
[7] [8/27/2012 11:17:30]       Waiting for ending at 8/27/2012 11:17:30 exitcode is: 259
[7] [8/27/2012 11:17:31]       Waiting for ending at 8/27/2012 11:17:31 exitcode is: 259
[7] [8/27/2012 11:17:32]       Waiting for ending at 8/27/2012 11:17:32 exitcode is: 259
[7] [8/27/2012 11:17:33]       Waiting for ending at 8/27/2012 11:17:33 exitcode is: 259
[7] [8/27/2012 11:17:34]       Waiting for ending at 8/27/2012 11:17:34 exitcode is: 259
[7] [8/27/2012 11:17:35]       Waiting for ending at 8/27/2012 11:17:35 exitcode is: 259
[7] [8/27/2012 11:17:36]       Waiting for ending at 8/27/2012 11:17:36 exitcode is: 259
[7] [8/27/2012 11:17:37]       Waiting for ending at 8/27/2012 11:17:37 exitcode is: 259
[7] [8/27/2012 11:17:38]       Waiting for ending at 8/27/2012 11:17:38 exitcode is: 259
[7] [8/27/2012 11:17:39]       Waiting for ending at 8/27/2012 11:17:39 exitcode is: 259
[7] [8/27/2012 11:17:40]       Waiting for ending at 8/27/2012 11:17:40 exitcode is: 259
[7] [8/27/2012 11:17:41]       Waiting for ending at 8/27/2012 11:17:41 exitcode is: 259
[7] [8/27/2012 11:17:42]       Waiting for ending at 8/27/2012 11:17:42 exitcode is: 259
[7] [8/27/2012 11:17:43]       Waiting for ending at 8/27/2012 11:17:43 exitcode is: 259
[7] [8/27/2012 11:17:44]       Waiting for ending at 8/27/2012 11:17:44 exitcode is: 259
[7] [8/27/2012 11:17:45]       Waiting for ending at 8/27/2012 11:17:45 exitcode is: 259
[7] [8/27/2012 11:17:46]       Waiting for ending at 8/27/2012 11:17:46 exitcode is: 259
[7] [8/27/2012 11:17:47]       Waiting for ending at 8/27/2012 11:17:47 exitcode is: 259
[7] [8/27/2012 11:17:48]       Waiting for ending at 8/27/2012 11:17:48 exitcode is: 259
[7] [8/27/2012 11:17:49]       Waiting for ending at 8/27/2012 11:17:49 exitcode is: 259
[7] [8/27/2012 11:17:50]       Waiting for ending at 8/27/2012 11:17:50 exitcode is: 259
[7] [8/27/2012 11:17:51]       Waiting for ending at 8/27/2012 11:17:51 exitcode is: 259
[7] [8/27/2012 11:17:52]       Waiting for ending at 8/27/2012 11:17:52 exitcode is: 259
[7] [8/27/2012 11:17:53]       Waiting for ending at 8/27/2012 11:17:53 exitcode is: 0
[8] [8/27/2012 11:17:53]       Process terminated at: 8/27/2012 11:17:53 exitcode is: 0
[6] [8/27/2012 11:17:53]       ExitCode 0    Executed process "P:\skype\skype.exe /verysilent"
[6] [8/27/2012 11:17:53]     
[6] [8/27/2012 11:17:53]     ~~~~~~~ Start Sub ~~~~~~~  Sub_check_exitcode
[5] [8/27/2012 11:17:53]     comment: Test for installation success via exit code
[5] [8/27/2012 11:17:53]     
[5] [8/27/2012 11:17:53]     Set  $ExitCode$ = getLastExitCode
[6] [8/27/2012 11:17:53]       The value of the variable "$ExitCode$" is now: "0"
[5] [8/27/2012 11:17:53]     
[5] [8/27/2012 11:17:53]     If
[5] [8/27/2012 11:17:53]       $ExitCode$ = "0"   <<< result true
[5] [8/27/2012 11:17:53]       ($ExitCode$ = "0")   <<< result true
[5] [8/27/2012 11:17:53]     Then
[5] [8/27/2012 11:17:53]       comment: Looks good: setup program gives exitcode zero
[5] [8/27/2012 11:17:53]     
[5] [8/27/2012 11:17:53]     Else
[5] [8/27/2012 11:17:53]       
[5] [8/27/2012 11:17:53]       If
[5] [8/27/2012 11:17:53]       Then
[5] [8/27/2012 11:17:53]       
[5] [8/27/2012 11:17:53]       Else
[5] [8/27/2012 11:17:53]         
[5] [8/27/2012 11:17:53]         If
[5] [8/27/2012 11:17:53]         Then
[5] [8/27/2012 11:17:53]         
[5] [8/27/2012 11:17:53]         Else
[5] [8/27/2012 11:17:53]           
[5] [8/27/2012 11:17:53]           If
[5] [8/27/2012 11:17:53]           Then
[5] [8/27/2012 11:17:53]           
[5] [8/27/2012 11:17:53]           Else
[5] [8/27/2012 11:17:53]           EndIf
[5] [8/27/2012 11:17:53]         EndIf
[5] [8/27/2012 11:17:53]       EndIf
[5] [8/27/2012 11:17:53]     EndIf
[6] [8/27/2012 11:17:53]     
[6] [8/27/2012 11:17:53]     ~~~~~~~ End Sub   ~~~~~~~  Sub_check_exitcode
[6] [8/27/2012 11:17:53]     
[5] [8/27/2012 11:17:53]   EndIf
[5] [8/27/2012 11:17:53] EndIf
[1] [8/27/2012 11:17:53] ___________________
[1] [8/27/2012 11:17:53] script finished
[1] [8/27/2012 11:17:53] 0 errors
[1] [8/27/2012 11:17:53] 1 warning
[1] [8/27/2012 11:17:53] 
[1] [8/27/2012 11:17:53] installed Produkt: skype Version: 1.0-1
[1] [8/27/2012 11:17:53] 
[6] [8/27/2012 11:17:53] Delete "c:\opsi.org\tmp\_winstbat_*"
[6] [8/27/2012 11:17:53]   Search "c:\opsi.org\tmp\"
[8] [8/27/2012 11:17:53] Temp bat files deleted, next: free script 
[8] [8/27/2012 11:17:53] End of CreateAndProcessScript
[8] [8/27/2012 11:17:53] After CreateAndProcessScript
[8] [8/27/2012 11:17:53] End ProcessNonZeroScript
[8] [8/27/2012 11:17:53] First ProcessNonZeroScript finished
[8] [8/27/2012 11:17:53] Parameters in OpsiMethodCall: skype
[8] [8/27/2012 11:17:53] Parameters in OpsiMethodCall: carlesvb.midoti.net
[8] [8/27/2012 11:17:53] Parameters in OpsiMethodCall: update
[8] [8/27/2012 11:17:53] Putting to TSuperArray with: "skype"
[8] [8/27/2012 11:17:53] Putting to TSuperArray with: "carlesvb.midoti.net"
[8] [8/27/2012 11:17:53] Putting to TSuperArray with: "update"
[8] [8/27/2012 11:17:53] got omc.jsonUrlString: {"method":"setProductActionRequest","params":["skype","carlesvb.midoti.net","update"],"id":1}
[8] [8/27/2012 11:17:53] Putting to TSuperArray with: "skype"
[8] [8/27/2012 11:17:53] Putting to TSuperArray with: "carlesvb.midoti.net"
[8] [8/27/2012 11:17:53] Putting to TSuperArray with: "update"
[8] [8/27/2012 11:17:53] got omc.jsonUrlString: {"method":"setProductActionRequest","params":["skype","carlesvb.midoti.net","update"],"id":1}
[8] [8/27/2012 11:17:53] got Furl: https://172.20.180.81:4447/rpc
[6] [8/27/2012 11:17:53] JSON service request https://172.20.180.81:4447/rpc setProductActionRequest
[8] [8/27/2012 11:17:53] Putting to TSuperArray with: "skype"
[8] [8/27/2012 11:17:53] Putting to TSuperArray with: "carlesvb.midoti.net"
[8] [8/27/2012 11:17:53] Putting to TSuperArray with: "update"
[8] [8/27/2012 11:17:53]  JSON service request Furlhttps://172.20.180.81:4447/rpc
[8] [8/27/2012 11:17:53]  JSON service request str{"method":"setProductActionRequest","params":["skype","carlesvb.midoti.net","update"],"id":1}
[1] [8/27/2012 11:17:53] product "skype set to update
[8] [8/27/2012 11:17:53] get Update script name ...
[8] [8/27/2012 11:17:53] Update script name: 
[1] [8/27/2012 11:17:53] Update script name: 
[8] [8/27/2012 11:17:53] Start ProcessNonZeroScript
[5] [8/27/2012 11:17:53] no script file name given
[8] [8/27/2012 11:17:53] End ProcessNonZeroScript
[1] [8/27/2012 11:17:53] we have no update script
[8] [8/27/2012 11:17:53] In opsi4data.UpdateSwitches, Actionstr: setup
[8] [8/27/2012 11:17:53] Parameters in OpsiMethodCall: {"clientId":"carlesvb.midoti.net","actionResult":"successful","installationStatus":"installed","actionRequest":"none","packageVersion":"1","ident":"skype;LocalbootProduct;carlesvb.midoti.net","productType":"LocalbootProduct","lastAction":"setup","productVersion":"1.0","modificationTime":null,"productId":"skype","actionProgress":"","type":"ProductOnClient","targetConfiguration":"installed","actionSequence":null}
[8] [8/27/2012 11:17:53] Creating TSuperObject with: {"clientId":"carlesvb.midoti.net","actionResult":"successful","installationStatus":"installed","actionRequest":"none","packageVersion":"1","ident":"skype;LocalbootProduct;carlesvb.midoti.net","productType":"LocalbootProduct","lastAction":"setup","productVersion":"1.0","modificationTime":null,"productId":"skype","actionProgress":"","type":"ProductOnClient","targetConfiguration":"installed","actionSequence":null}
[8] [8/27/2012 11:17:53] got omc.jsonUrlString: {"method":"productOnClient_updateObject","params":[{"clientId":"carlesvb.midoti.net","actionResult":"successful","installationStatus":"installed","actionRequest":"none","packageVersion":"1","ident":"skype;LocalbootProduct;carlesvb.midoti.net","productType":"LocalbootProduct","lastAction":"setup","productVersion":"1.0","modificationTime":null,"productId":"skype","actionProgress":"","type":"ProductOnClient","targetConfiguration":"installed","actionSequence":null}],"id":1}
[8] [8/27/2012 11:17:53] Creating TSuperObject with: {"clientId":"carlesvb.midoti.net","actionResult":"successful","installationStatus":"installed","actionRequest":"none","packageVersion":"1","ident":"skype;LocalbootProduct;carlesvb.midoti.net","productType":"LocalbootProduct","lastAction":"setup","productVersion":"1.0","modificationTime":null,"productId":"skype","actionProgress":"","type":"ProductOnClient","targetConfiguration":"installed","actionSequence":null}
[8] [8/27/2012 11:17:53] got omc.jsonUrlString: {"method":"productOnClient_updateObject","params":[{"clientId":"carlesvb.midoti.net","actionResult":"successful","installationStatus":"installed","actionRequest":"none","packageVersion":"1","ident":"skype;LocalbootProduct;carlesvb.midoti.net","productType":"LocalbootProduct","lastAction":"setup","productVersion":"1.0","modificationTime":null,"productId":"skype","actionProgress":"","type":"ProductOnClient","targetConfiguration":"installed","actionSequence":null}],"id":1}
[8] [8/27/2012 11:17:53] got Furl: https://172.20.180.81:4447/rpc
[6] [8/27/2012 11:17:53] JSON service request https://172.20.180.81:4447/rpc productOnClient_updateObject
[8] [8/27/2012 11:17:53] Creating TSuperObject with: {"clientId":"carlesvb.midoti.net","actionResult":"successful","installationStatus":"installed","actionRequest":"none","packageVersion":"1","ident":"skype;LocalbootProduct;carlesvb.midoti.net","productType":"LocalbootProduct","lastAction":"setup","productVersion":"1.0","modificationTime":null,"productId":"skype","actionProgress":"","type":"ProductOnClient","targetConfiguration":"installed","actionSequence":null}
[8] [8/27/2012 11:17:53]  JSON service request Furlhttps://172.20.180.81:4447/rpc
[8] [8/27/2012 11:17:53]  JSON service request str{"method":"productOnClient_updateObject","params":[{"clientId":"carlesvb.midoti.net","actionResult":"successful","installationStatus":"installed","actionRequest":"none","packageVersion":"1","ident":"skype;LocalbootProduct;carlesvb.midoti.net","productType":"LocalbootProduct","lastAction":"setup","productVersion":"1.0","modificationTime":null,"productId":"skype","actionProgress":"","type":"ProductOnClient","targetConfiguration":"installed","actionSequence":null}],"id":1}
[7] [8/27/2012 11:17:53] Registry started with redirection (32 Bit)
[6] [8/27/2012 11:17:53] Registry key [HKLM\SOFTWARE\opsi.org\winst]  opened
[6] [8/27/2012 11:17:53]                               Variable "RebootRequested"  is keeping its value "0"
[6] [8/27/2012 11:17:53]                               Variable "LastLogFilename"  is keeping its value "c:\tmp\instlog.txt"
[6] [8/27/2012 11:17:53]                               Variable "ContinueLogFile"  is keeping its value "0"
[6] [8/27/2012 11:17:53]                               Variable "NumberOfErrors"  is keeping its value "0"
[6] [8/27/2012 11:17:54]                               Key flushed
[6] [8/27/2012 11:17:54]                               Key closed
[8] [8/27/2012 11:17:55]                               got omc.jsonUrlString: {"method":"backend_exit","params":[],"id":1}
[8] [8/27/2012 11:17:55]                               got omc.jsonUrlString: {"method":"backend_exit","params":[],"id":1}
[8] [8/27/2012 11:17:55]                               got Furl: https://172.20.180.81:4447/rpc
[6] [8/27/2012 11:17:55]                               JSON service request https://172.20.180.81:4447/rpc backend_exit
[8] [8/27/2012 11:17:55]                                JSON service request Furlhttps://172.20.180.81:4447/rpc
[8] [8/27/2012 11:17:55]                                JSON service request str{"method":"backend_exit","params":[],"id":1}
[1] [8/27/2012 11:17:55] ============  winst Version 4.11.2.9 WIN32 is regularly exiting. Time 2012-08-27  11:17:55 .
and again the setup.ins,

Code: Alles auswählen

[Initial]
LogLevel=9
; Log Errors in Logfile but don't abort:
ExitOnError=false
; Show syntax errors in the script:
ScriptErrorMessages=on
; Dont trace step by step through the script:
TraceMode=off
; let started programs run in front of the winst window
StayOnTop=false


[Actions]
; requiredWinstVersion >= "4.10.8.6"

DefVar $UninstallProgram32$
DefVar $UninstallProgram64$
DefVar $LogDir$
DefVar $ProductId$
DefVar $MinimumSpace$
DefVar $InstallDir32$
DefVar $InstallDir64$
DefVar $ExitCode$
DefVar $LicenseRequired$
DefVar $LicenseKey$
DefVar $LicensePool$
DefVar $INST_SystemType$
DefVar $INST_architecture$
DefVar $Version$
DefVar $Inst_Cmd32$
DefVar $Inst_Cmd64$
DefVar $Inst_Prg$
DefVar $Uninst_Prg$

Set $INST_SystemType$ = GetSystemType
set $INST_architecture$ = GetProductProperty("install_architecture","system specific")


Set $LogDir$ = "%SystemDrive%\tmp"

; ----------------------------------------------------------------
; - Please edit the following values -
; ----------------------------------------------------------------
;$ProductId$ should be the name of the product in opsi
; therefore please: only lower letters, no umlauts,
; no white space use '-' as a seperator
Set $ProductId$ = "Skype"
Set $Version$ = "5.10"
Set $MinimumSpace$ = "3 MB"
; the path were we find the product after the installation
Set $InstallDir32$ = "%ProgramFilesDir%\7-Zip"
Set $InstallDir64$ = "%ProgramFilesDir%\7-Zip"
Set $LicenseRequired$ = "false"
Set $LicensePool$ = "p_" + $ProductId$
Set $Inst_Prg$ = "skype.exe"
; Set $Uninst_Prg$ = "uninstall.exe"
Set $Inst_Cmd32$ = '/verysilent'
Set $Inst_Cmd64$ = '/verysilent'
; ----------------------------------------------------------------

if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$))
LogError "Not enough space on %SystemDrive%, " + $MinimumSpace$ + " on drive %SystemDrive% needed for " + $ProductId$
isFatalError
; Stop process and set installation status to failed
else
comment "Show product picture"
ShowBitmap "%ScriptPath%\" + $ProductId$ + ".jpg" $ProductId$

if FileExists("%ScriptPath%\delsub.ins")
comment "Start uninstall sub section"
Sub "%ScriptPath%\delsub.ins"
endif

if $LicenseRequired$ = "true"
comment "Licensing required, reserve license and get license key"
Sub_get_licensekey
endif

comment "installing"

if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only")
Message "Installing " + $ProductId$ + " 32 Bit..."
comment "Start setup program"
Winbatch_install_32
Sub_check_exitcode
endif

if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only"))
Message "Installing " + $ProductId$ + " 64 Bit..."
comment "Start setup program"
Winbatch_install_64
Sub_check_exitcode
endif

endif

[Winbatch_install_32]
%ScriptPath%\$Inst_Prg$ $Inst_Cmd32$
; regedit /S "%ScriptPath%\TightVNC.reg"

[Winbatch_install_64]
%ScriptPath%\$Inst_Prg$ $Inst_Cmd32$
; regedit /S "%ScriptPath%\TightVNC_win7.reg"


[LinkFolder_uninstall]
; Example of deleting a shortcut from AllUsers desktop:
;
set_basefolder common_desktopdirectory
set_subfolder ""
delete_element $ProductId$

[Sub_check_exitcode]
comment "Test for installation success via exit code"
set $ExitCode$ = getLastExitCode
; informations to exit codes see
; http://msdn.microsoft.com/en-us/library/aa372835(VS.85).aspx
; http://msdn.microsoft.com/en-us/library/aa368542.aspx
if ($ExitCode$ = "0")
comment "Looks good: setup program gives exitcode zero"
else
comment "Setup program gives a exitcode unequal zero: " + $ExitCode$
if ($ExitCode$ = "1605")
comment "ERROR_UNKNOWN_PRODUCT 1605 This action is only valid for products that are currently installed."
comment "Uninstall of a not installed product failed - no problem"
else
if ($ExitCode$ = "1641")
comment "looks good: setup program gives exitcode 1641"
comment "ERROR_SUCCESS_REBOOT_INITIATED 1641 The installer has initiated a restart. This message is indicative of a success."
else
if ($ExitCode$ = "3010")
comment "looks good: setup program gives exitcode 3010"
comment "ERROR_SUCCESS_REBOOT_REQUIRED 3010 A restart is required to complete the install. This message is indicative of a success."
else
logError "Fatal: Setup program gives an unknown exitcode unequal zero: " + $ExitCode$
isFatalError
endif
endif
endif
endif

It's like the LinkFolder_uninstall is not being executed at all =\
Any idea?

Thank you very much, BR
Carles
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3319
Registriert: 04 Jun 2008, 14:27

Re: Problem with desktop icons

Beitrag von d.oertel »

Hi,

your LinkFolder Section is there but it is not called in the actions section.

regards

d.oertel
opsi support - uib gmbh

For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org
carles
Beiträge: 22
Registriert: 17 Jul 2012, 08:41

Re: Problem with desktop icons

Beitrag von carles »

Dear d.oertel,

Still I can't achieve to delete that icons, I added the LinkFolder section to the Actions section, I tried putting it before and after the exitcode_check but even when now is executed, there is not a way to delete the icon.
[1] [8/28/2012 11:55:57] opsi-winst 4.11.2.9 started at >>8/28/2012 11:55:55
[1] [8/28/2012 11:55:57] startmessage winst created at CentralForm.FormCreate: 8/28/2012 11:55:55
[1] [8/28/2012 11:55:57] startmessage StartProgramModes and create log: 8/28/2012 11:55:56
[1] [8/28/2012 11:55:57] startmessage start opsi service connection: 8/28/2012 11:55:56
[1] [8/28/2012 11:55:57] startmessage create log: 8/28/2012 11:55:57
[6] [8/28/2012 11:55:57] JSON service request https://172.20.180.81:4447/rpc getDepotId
[6] [8/28/2012 11:55:57] JSON service request https://172.20.180.81:4447/rpc backend_setOptions
[6] [8/28/2012 11:55:57] JSON service request https://172.20.180.81:4447/rpc productOnClient_getObjects
[5] [8/28/2012 11:55:57] Computername:carlesvb.midoti.net
[5] [8/28/2012 11:55:57] Computername according to Environment Variable :CARLESVB
[5] [8/28/2012 11:55:57] opsi service URL https://172.20.180.81:4447
[5] [8/28/2012 11:55:57] Depot path: p:\
[5] [8/28/2012 11:55:57]
[5] [8/28/2012 11:55:57] bootmode BKSTD
[5] [8/28/2012 11:55:57] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[5] [8/28/2012 11:55:57] Resolved sequence of products (8/28/2012 11:55:57):
[5] [8/28/2012 11:55:57] Product 10 skype : setup
[5] [8/28/2012 11:55:57] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6] [8/28/2012 11:55:58] JSON service request https://172.20.180.81:4447/rpc getProductProperties_hash
[6] [8/28/2012 11:55:58] JSON service request https://172.20.180.81:4447/rpc getProduct_hash
[6] [8/28/2012 11:55:58] JSON service request https://172.20.180.81:4447/rpc productOnClient_getObjects
[5] [8/28/2012 11:55:58] scriptname: "setup.ins", special path: "p:\skype\"
[6] [8/28/2012 11:55:58] JSON service request https://172.20.180.81:4447/rpc productOnClient_updateObject
[1] [8/28/2012 11:55:58]
[1] [8/28/2012 11:55:58] ============ Version 4.11.2.9 WIN32 script "p:\skype\setup.ins"
[1] [8/28/2012 11:55:58] start: 2012-08-28 11:55:58
[1] [8/28/2012 11:55:58] on client named "carlesvb.midoti.net"
[1] [8/28/2012 11:55:58] loggedin user "cc250080"
[1] [8/28/2012 11:55:58] winst running as "SYSTEM"
[1] [8/28/2012 11:55:58] winst running with admin privileges
[1] [8/28/2012 11:55:58] winst running in standard script mode
[1] [8/28/2012 11:55:58] [executing: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-winst\winst32.exe"]
[1] [8/28/2012 11:55:58] system infos:
[1] [8/28/2012 11:55:58] 08-00-27-32-5C-57 - PC hardware address
[1] [8/28/2012 11:55:58] CARLESVB.midoti.net - IP name
[1] [8/28/2012 11:55:58] 10.0.2.15 - IP address
[1] [8/28/2012 11:55:58] ENU - System default locale
[1] [8/28/2012 11:55:58] MS Windowds 6.1 64 Bit
[1] [8/28/2012 11:55:58] opsi service version : 4
[1] [8/28/2012 11:55:58]
[6] [8/28/2012 11:55:58] Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion] opened
[6] [8/28/2012 11:55:58] Key closed
[4] [8/28/2012 11:55:58] Warning: depricated: <LogLevel=> please use <setLogLevel=>
[1] [8/28/2012 11:55:58] LogLevel was 6
[1] [8/28/2012 11:55:58] LogLevel set to 13
[5] [8/28/2012 11:55:58]
[5] [8/28/2012 11:55:58] Set $INST_SystemType$ = GetSystemType
[6] [8/28/2012 11:55:58] The value of the variable "$INST_SystemType$" is now: "64 Bit System"
[5] [8/28/2012 11:55:58]
[5] [8/28/2012 11:55:58] Set $INST_architecture$ = GetProductProperty("install_architecture","system specific")
[6] [8/28/2012 11:55:58] The value of the variable "$INST_architecture$" is now: "system specific"
[5] [8/28/2012 11:55:58]
[5] [8/28/2012 11:55:58] Set $LogDir$ = "C:\tmp"
[6] [8/28/2012 11:55:58] The value of the variable "$LogDir$" is now: "C:\tmp"
[5] [8/28/2012 11:55:58]
[5] [8/28/2012 11:55:58] Set $ProductId$ = "Skype"
[6] [8/28/2012 11:55:58] The value of the variable "$ProductId$" is now: "Skype"
[5] [8/28/2012 11:55:58]
[5] [8/28/2012 11:55:58] Set $Version$ = "5.10"
[6] [8/28/2012 11:55:58] The value of the variable "$Version$" is now: "5.10"
[5] [8/28/2012 11:55:58]
[5] [8/28/2012 11:55:58] Set $MinimumSpace$ = "3 MB"
[6] [8/28/2012 11:55:58] The value of the variable "$MinimumSpace$" is now: "3 MB"
[5] [8/28/2012 11:55:58]
[5] [8/28/2012 11:55:58] Set $InstallDir32$ = "C:\Program Files (x86)\7-Zip"
[6] [8/28/2012 11:55:58] The value of the variable "$InstallDir32$" is now: "C:\Program Files (x86)\7-Zip"
[5] [8/28/2012 11:55:58]
[5] [8/28/2012 11:55:58] Set $InstallDir64$ = "C:\Program Files (x86)\7-Zip"
[6] [8/28/2012 11:55:58] The value of the variable "$InstallDir64$" is now: "C:\Program Files (x86)\7-Zip"
[5] [8/28/2012 11:55:58]
[5] [8/28/2012 11:55:58] Set $LicenseRequired$ = "false"
[6] [8/28/2012 11:55:58] The value of the variable "$LicenseRequired$" is now: "false"
[5] [8/28/2012 11:55:58]
[5] [8/28/2012 11:55:58] Set $LicensePool$ = "p_" + $ProductId$
[6] [8/28/2012 11:55:58] The value of the variable "$LicensePool$" is now: "p_Skype"
[5] [8/28/2012 11:55:58]
[5] [8/28/2012 11:55:58] Set $Inst_Prg$ = "skype.exe"
[6] [8/28/2012 11:55:58] The value of the variable "$Inst_Prg$" is now: "skype.exe"
[5] [8/28/2012 11:55:58]
[5] [8/28/2012 11:55:58] Set $Inst_Cmd32$ = '/verysilent'
[6] [8/28/2012 11:55:58] The value of the variable "$Inst_Cmd32$" is now: "/verysilent"
[5] [8/28/2012 11:55:58]
[5] [8/28/2012 11:55:58] Set $Inst_Cmd64$ = '/verysilent'
[6] [8/28/2012 11:55:58] The value of the variable "$Inst_Cmd64$" is now: "/verysilent"
[5] [8/28/2012 11:55:58]
[5] [8/28/2012 11:55:58] If
[6] [8/28/2012 11:55:58] Free on Disk C:: 19,276,537,856 bytes This is more than the required amount of 3,000,000 bytes
[5] [8/28/2012 11:55:58] HasMinimumSpace ("C:", $MinimumSpace$) <<< result true
[5] [8/28/2012 11:55:58] not(HasMinimumSpace ("C:", $MinimumSpace$)) <<< result false
[5] [8/28/2012 11:55:58] Then
[5] [8/28/2012 11:55:58]
[5] [8/28/2012 11:55:58] Else
[5] [8/28/2012 11:55:58] comment: Show product picture
[5] [8/28/2012 11:55:58]
[5] [8/28/2012 11:55:58] If
[6] [8/28/2012 11:55:58] Starting query if file exist ...
[5] [8/28/2012 11:55:58] "P:\skype\delsub.ins": File Error 2 (The system cannot find the file specified.
)
[5] [8/28/2012 11:55:58] FileExists("P:\skype\delsub.ins") <<< result false
[5] [8/28/2012 11:55:58] Then
[5] [8/28/2012 11:55:58] EndIf
[5] [8/28/2012 11:55:58]
[5] [8/28/2012 11:55:58] If
[5] [8/28/2012 11:55:58] $LicenseRequired$ = "true" <<< result false
[5] [8/28/2012 11:55:58] Then
[5] [8/28/2012 11:55:58] EndIf
[5] [8/28/2012 11:55:58] comment: installing
[5] [8/28/2012 11:55:58]
[5] [8/28/2012 11:55:58] If
[5] [8/28/2012 11:55:58] $INST_SystemType$ = "x86 System" <<< result false
[5] [8/28/2012 11:55:58] $INST_architecture$ = "system specific" <<< result true
[5] [8/28/2012 11:55:58] ($INST_architecture$ = "system specific") <<< result true
[5] [8/28/2012 11:55:58] ($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific") <<< result false
[5] [8/28/2012 11:55:58] $INST_architecture$ = "both" <<< result false
[5] [8/28/2012 11:55:58] $INST_architecture$ = "32 only" <<< result false
[5] [8/28/2012 11:55:58] ($INST_architecture$ = "32 only") <<< result false
[5] [8/28/2012 11:55:58] ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only") <<< result false
[5] [8/28/2012 11:55:58] (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only") <<< result false
[5] [8/28/2012 11:55:58] Then
[5] [8/28/2012 11:55:58] EndIf
[5] [8/28/2012 11:55:58]
[5] [8/28/2012 11:55:58] If
[5] [8/28/2012 11:55:58] $INST_SystemType$ = "64 Bit System" <<< result true
[5] [8/28/2012 11:55:58] $INST_architecture$ = "system specific" <<< result true
[5] [8/28/2012 11:55:58] $INST_architecture$ = "both" <<< result false
[5] [8/28/2012 11:55:58] $INST_architecture$ = "64 only" <<< result false
[5] [8/28/2012 11:55:58] ($INST_architecture$ = "64 only") <<< result false
[5] [8/28/2012 11:55:58] ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only") <<< result false
[5] [8/28/2012 11:55:58] ($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only") <<< result true
[5] [8/28/2012 11:55:58] (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only")) <<< result true
[5] [8/28/2012 11:55:58] ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only")) <<< result true
[5] [8/28/2012 11:55:58] Then
[5] [8/28/2012 11:55:58] message Installing Skype 64 Bit...
[5] [8/28/2012 11:55:58] comment: Start setup program
[5] [8/28/2012 11:55:58]
[5] [8/28/2012 11:55:58] Execution of Winbatch_install_64
[6] [8/28/2012 11:55:58] Call "P:\skype\skype.exe /verysilent"
[6] [8/28/2012 11:55:58] Waiting until the called process is finished
[7] [8/28/2012 11:56:00] Waiting for ending at 8/28/2012 11:56:00 exitcode is: 259
[7] [8/28/2012 11:56:01] Waiting for ending at 8/28/2012 11:56:01 exitcode is: 259
[7] [8/28/2012 11:56:02] Waiting for ending at 8/28/2012 11:56:02 exitcode is: 259
[7] [8/28/2012 11:56:03] Waiting for ending at 8/28/2012 11:56:03 exitcode is: 259
[7] [8/28/2012 11:56:04] Waiting for ending at 8/28/2012 11:56:04 exitcode is: 259
[7] [8/28/2012 11:56:05] Waiting for ending at 8/28/2012 11:56:05 exitcode is: 259
[7] [8/28/2012 11:56:06] Waiting for ending at 8/28/2012 11:56:06 exitcode is: 259
[7] [8/28/2012 11:56:07] Waiting for ending at 8/28/2012 11:56:07 exitcode is: 259
[7] [8/28/2012 11:56:08] Waiting for ending at 8/28/2012 11:56:08 exitcode is: 259
[7] [8/28/2012 11:56:09] Waiting for ending at 8/28/2012 11:56:09 exitcode is: 259
[7] [8/28/2012 11:56:10] Waiting for ending at 8/28/2012 11:56:10 exitcode is: 259
[7] [8/28/2012 11:56:11] Waiting for ending at 8/28/2012 11:56:11 exitcode is: 259
[7] [8/28/2012 11:56:12] Waiting for ending at 8/28/2012 11:56:12 exitcode is: 259
[7] [8/28/2012 11:56:13] Waiting for ending at 8/28/2012 11:56:13 exitcode is: 259
[7] [8/28/2012 11:56:14] Waiting for ending at 8/28/2012 11:56:14 exitcode is: 259
[7] [8/28/2012 11:56:15] Waiting for ending at 8/28/2012 11:56:15 exitcode is: 259
[7] [8/28/2012 11:56:16] Waiting for ending at 8/28/2012 11:56:16 exitcode is: 259
[7] [8/28/2012 11:56:17] Waiting for ending at 8/28/2012 11:56:17 exitcode is: 259
[7] [8/28/2012 11:56:18] Waiting for ending at 8/28/2012 11:56:18 exitcode is: 259
[7] [8/28/2012 11:56:19] Waiting for ending at 8/28/2012 11:56:19 exitcode is: 259
[7] [8/28/2012 11:56:20] Waiting for ending at 8/28/2012 11:56:20 exitcode is: 259
[7] [8/28/2012 11:56:21] Waiting for ending at 8/28/2012 11:56:21 exitcode is: 259
[7] [8/28/2012 11:56:22] Waiting for ending at 8/28/2012 11:56:22 exitcode is: 259
[7] [8/28/2012 11:56:23] Waiting for ending at 8/28/2012 11:56:23 exitcode is: 259
[7] [8/28/2012 11:56:24] Waiting for ending at 8/28/2012 11:56:24 exitcode is: 259
[7] [8/28/2012 11:56:25] Waiting for ending at 8/28/2012 11:56:25 exitcode is: 259
[7] [8/28/2012 11:56:26] Waiting for ending at 8/28/2012 11:56:26 exitcode is: 259
[7] [8/28/2012 11:56:27] Waiting for ending at 8/28/2012 11:56:27 exitcode is: 259
[7] [8/28/2012 11:56:28] Waiting for ending at 8/28/2012 11:56:28 exitcode is: 259
[7] [8/28/2012 11:56:29] Waiting for ending at 8/28/2012 11:56:29 exitcode is: 259
[7] [8/28/2012 11:56:30] Waiting for ending at 8/28/2012 11:56:30 exitcode is: 259
[7] [8/28/2012 11:56:31] Waiting for ending at 8/28/2012 11:56:31 exitcode is: 259
[7] [8/28/2012 11:56:32] Waiting for ending at 8/28/2012 11:56:32 exitcode is: 259
[7] [8/28/2012 11:56:33] Waiting for ending at 8/28/2012 11:56:33 exitcode is: 259
[7] [8/28/2012 11:56:34] Waiting for ending at 8/28/2012 11:56:34 exitcode is: 259
[7] [8/28/2012 11:56:35] Waiting for ending at 8/28/2012 11:56:35 exitcode is: 259
[7] [8/28/2012 11:56:36] Waiting for ending at 8/28/2012 11:56:36 exitcode is: 259
[7] [8/28/2012 11:56:37] Waiting for ending at 8/28/2012 11:56:37 exitcode is: 259
[7] [8/28/2012 11:56:38] Waiting for ending at 8/28/2012 11:56:38 exitcode is: 259
[7] [8/28/2012 11:56:39] Waiting for ending at 8/28/2012 11:56:39 exitcode is: 259
[7] [8/28/2012 11:56:40] Waiting for ending at 8/28/2012 11:56:40 exitcode is: 259
[7] [8/28/2012 11:56:41] Waiting for ending at 8/28/2012 11:56:41 exitcode is: 259
[7] [8/28/2012 11:56:42] Waiting for ending at 8/28/2012 11:56:42 exitcode is: 259
[7] [8/28/2012 11:56:43] Waiting for ending at 8/28/2012 11:56:43 exitcode is: 259
[7] [8/28/2012 11:56:44] Waiting for ending at 8/28/2012 11:56:44 exitcode is: 259
[7] [8/28/2012 11:56:45] Waiting for ending at 8/28/2012 11:56:45 exitcode is: 259
[7] [8/28/2012 11:56:46] Waiting for ending at 8/28/2012 11:56:46 exitcode is: 259
[7] [8/28/2012 11:56:47] Waiting for ending at 8/28/2012 11:56:47 exitcode is: 259
[7] [8/28/2012 11:56:48] Waiting for ending at 8/28/2012 11:56:48 exitcode is: 259
[7] [8/28/2012 11:56:49] Waiting for ending at 8/28/2012 11:56:49 exitcode is: 259
[7] [8/28/2012 11:56:50] Waiting for ending at 8/28/2012 11:56:50 exitcode is: 259
[7] [8/28/2012 11:56:51] Waiting for ending at 8/28/2012 11:56:51 exitcode is: 259
[7] [8/28/2012 11:56:52] Waiting for ending at 8/28/2012 11:56:52 exitcode is: 259
[7] [8/28/2012 11:56:53] Waiting for ending at 8/28/2012 11:56:53 exitcode is: 259
[7] [8/28/2012 11:56:54] Waiting for ending at 8/28/2012 11:56:54 exitcode is: 259
[7] [8/28/2012 11:56:55] Waiting for ending at 8/28/2012 11:56:55 exitcode is: 259
[7] [8/28/2012 11:56:56] Waiting for ending at 8/28/2012 11:56:56 exitcode is: 259
[7] [8/28/2012 11:56:57] Waiting for ending at 8/28/2012 11:56:57 exitcode is: 259
[7] [8/28/2012 11:56:58] Waiting for ending at 8/28/2012 11:56:58 exitcode is: 259
[7] [8/28/2012 11:56:59] Waiting for ending at 8/28/2012 11:56:59 exitcode is: 259
[7] [8/28/2012 11:57:00] Waiting for ending at 8/28/2012 11:57:00 exitcode is: 259
[7] [8/28/2012 11:57:01] Waiting for ending at 8/28/2012 11:57:01 exitcode is: 259
[7] [8/28/2012 11:57:02] Waiting for ending at 8/28/2012 11:57:02 exitcode is: 259
[7] [8/28/2012 11:57:03] Waiting for ending at 8/28/2012 11:57:03 exitcode is: 259
[7] [8/28/2012 11:57:04] Waiting for ending at 8/28/2012 11:57:04 exitcode is: 259
[7] [8/28/2012 11:57:05] Waiting for ending at 8/28/2012 11:57:05 exitcode is: 259
[7] [8/28/2012 11:57:06] Waiting for ending at 8/28/2012 11:57:06 exitcode is: 259
[7] [8/28/2012 11:57:07] Waiting for ending at 8/28/2012 11:57:07 exitcode is: 259
[7] [8/28/2012 11:57:08] Waiting for ending at 8/28/2012 11:57:08 exitcode is: 0
[8] [8/28/2012 11:57:08] Process terminated at: 8/28/2012 11:57:08 exitcode is: 0
[6] [8/28/2012 11:57:08] ExitCode 0 Executed process "P:\skype\skype.exe /verysilent"
[6] [8/28/2012 11:57:08]
[6] [8/28/2012 11:57:08] ~~~~~~~ Start Sub ~~~~~~~ Sub_check_exitcode
[5] [8/28/2012 11:57:08] comment: Test for installation success via exit code
[5] [8/28/2012 11:57:08]
[5] [8/28/2012 11:57:08] Set $ExitCode$ = getLastExitCode
[6] [8/28/2012 11:57:08] The value of the variable "$ExitCode$" is now: "0"
[5] [8/28/2012 11:57:08]
[5] [8/28/2012 11:57:08] If
[5] [8/28/2012 11:57:08] $ExitCode$ = "0" <<< result true
[5] [8/28/2012 11:57:08] ($ExitCode$ = "0") <<< result true
[5] [8/28/2012 11:57:08] Then
[5] [8/28/2012 11:57:08] comment: Looks good: setup program gives exitcode zero
[5] [8/28/2012 11:57:08]
[5] [8/28/2012 11:57:08] Else
[5] [8/28/2012 11:57:08]
[5] [8/28/2012 11:57:08] If
[5] [8/28/2012 11:57:08] Then
[5] [8/28/2012 11:57:08]
[5] [8/28/2012 11:57:08] Else
[5] [8/28/2012 11:57:08]
[5] [8/28/2012 11:57:08] If
[5] [8/28/2012 11:57:08] Then
[5] [8/28/2012 11:57:08]
[5] [8/28/2012 11:57:08] Else
[5] [8/28/2012 11:57:08]
[5] [8/28/2012 11:57:08] If
[5] [8/28/2012 11:57:08] Then
[5] [8/28/2012 11:57:08]
[5] [8/28/2012 11:57:08] Else
[5] [8/28/2012 11:57:08] EndIf
[5] [8/28/2012 11:57:08] EndIf
[5] [8/28/2012 11:57:08] EndIf
[5] [8/28/2012 11:57:08] EndIf
[6] [8/28/2012 11:57:08]
[6] [8/28/2012 11:57:08] ~~~~~~~ End Sub ~~~~~~~ Sub_check_exitcode
[6] [8/28/2012 11:57:08]
[5] [8/28/2012 11:57:08]
[5] [8/28/2012 11:57:08] Execution of LinkFolder_uninstall
[6] [8/28/2012 11:57:08] Base folder is the COMMON DESKTOPDIRECTORY folder
[6] [8/28/2012 11:57:08] Opened "" in the COMMON DESKTOPDIRECTORY folder
[6] [8/28/2012 11:57:08] Info: Link "Skype" does not exist
[5] [8/28/2012 11:57:08] EndIf
[5] [8/28/2012 11:57:08] EndIf
[1] [8/28/2012 11:57:08] ___________________
[1] [8/28/2012 11:57:08] script finished
[1] [8/28/2012 11:57:08] 0 errors
[1] [8/28/2012 11:57:08] 1 warning
[1] [8/28/2012 11:57:08]
[1] [8/28/2012 11:57:08] installed Produkt: skype Version: 1.0-1
[1] [8/28/2012 11:57:08]
[6] [8/28/2012 11:57:08] Delete "c:\opsi.org\tmp\_winstbat_*"
[6] [8/28/2012 11:57:08] Search "c:\opsi.org\tmp\"
[8] [8/28/2012 11:57:08] Temp bat files deleted, next: free script
[8] [8/28/2012 11:57:08] End of CreateAndProcessScript
[8] [8/28/2012 11:57:08] After CreateAndProcessScript
[8] [8/28/2012 11:57:08] End ProcessNonZeroScript
[8] [8/28/2012 11:57:08] First ProcessNonZeroScript finished
[8] [8/28/2012 11:57:08] Parameters in OpsiMethodCall: skype
[8] [8/28/2012 11:57:08] Parameters in OpsiMethodCall: carlesvb.midoti.net
[8] [8/28/2012 11:57:08] Parameters in OpsiMethodCall: update
[8] [8/28/2012 11:57:08] Putting to TSuperArray with: "skype"
[8] [8/28/2012 11:57:08] Putting to TSuperArray with: "carlesvb.midoti.net"
[8] [8/28/2012 11:57:08] Putting to TSuperArray with: "update"
[8] [8/28/2012 11:57:08] got omc.jsonUrlString: {"method":"setProductActionRequest","params":["skype","carlesvb.midoti.net","update"],"id":1}
[8] [8/28/2012 11:57:08] Putting to TSuperArray with: "skype"
[8] [8/28/2012 11:57:08] Putting to TSuperArray with: "carlesvb.midoti.net"
[8] [8/28/2012 11:57:08] Putting to TSuperArray with: "update"
[8] [8/28/2012 11:57:08] got omc.jsonUrlString: {"method":"setProductActionRequest","params":["skype","carlesvb.midoti.net","update"],"id":1}
[8] [8/28/2012 11:57:08] got Furl: https://172.20.180.81:4447/rpc
[6] [8/28/2012 11:57:08] JSON service request https://172.20.180.81:4447/rpc setProductActionRequest
[8] [8/28/2012 11:57:08] Putting to TSuperArray with: "skype"
[8] [8/28/2012 11:57:08] Putting to TSuperArray with: "carlesvb.midoti.net"
[8] [8/28/2012 11:57:08] Putting to TSuperArray with: "update"
[8] [8/28/2012 11:57:08] JSON service request Furlhttps://172.20.180.81:4447/rpc
[8] [8/28/2012 11:57:08] JSON service request str{"method":"setProductActionRequest","params":["skype","carlesvb.midoti.net","update"],"id":1}
[1] [8/28/2012 11:57:08] product "skype set to update
[8] [8/28/2012 11:57:08] get Update script name ...
[8] [8/28/2012 11:57:08] Update script name:
[1] [8/28/2012 11:57:08] Update script name:
[8] [8/28/2012 11:57:08] Start ProcessNonZeroScript
[5] [8/28/2012 11:57:08] no script file name given
[8] [8/28/2012 11:57:08] End ProcessNonZeroScript
[1] [8/28/2012 11:57:08] we have no update script
[8] [8/28/2012 11:57:08] In opsi4data.UpdateSwitches, Actionstr: setup
[8] [8/28/2012 11:57:08] Parameters in OpsiMethodCall: {"clientId":"carlesvb.midoti.net","actionResult":"successful","installationStatus":"installed","actionRequest":"none","packageVersion":"1","ident":"skype;LocalbootProduct;carlesvb.midoti.net","productType":"LocalbootProduct","lastAction":"setup","productVersion":"1.0","modificationTime":null,"productId":"skype","actionProgress":"","type":"ProductOnClient","targetConfiguration":"installed","actionSequence":null}
[8] [8/28/2012 11:57:08] Creating TSuperObject with: {"clientId":"carlesvb.midoti.net","actionResult":"successful","installationStatus":"installed","actionRequest":"none","packageVersion":"1","ident":"skype;LocalbootProduct;carlesvb.midoti.net","productType":"LocalbootProduct","lastAction":"setup","productVersion":"1.0","modificationTime":null,"productId":"skype","actionProgress":"","type":"ProductOnClient","targetConfiguration":"installed","actionSequence":null}
[8] [8/28/2012 11:57:08] got omc.jsonUrlString: {"method":"productOnClient_updateObject","params":[{"clientId":"carlesvb.midoti.net","actionResult":"successful","installationStatus":"installed","actionRequest":"none","packageVersion":"1","ident":"skype;LocalbootProduct;carlesvb.midoti.net","productType":"LocalbootProduct","lastAction":"setup","productVersion":"1.0","modificationTime":null,"productId":"skype","actionProgress":"","type":"ProductOnClient","targetConfiguration":"installed","actionSequence":null}],"id":1}
[8] [8/28/2012 11:57:08] Creating TSuperObject with: {"clientId":"carlesvb.midoti.net","actionResult":"successful","installationStatus":"installed","actionRequest":"none","packageVersion":"1","ident":"skype;LocalbootProduct;carlesvb.midoti.net","productType":"LocalbootProduct","lastAction":"setup","productVersion":"1.0","modificationTime":null,"productId":"skype","actionProgress":"","type":"ProductOnClient","targetConfiguration":"installed","actionSequence":null}
[8] [8/28/2012 11:57:08] got omc.jsonUrlString: {"method":"productOnClient_updateObject","params":[{"clientId":"carlesvb.midoti.net","actionResult":"successful","installationStatus":"installed","actionRequest":"none","packageVersion":"1","ident":"skype;LocalbootProduct;carlesvb.midoti.net","productType":"LocalbootProduct","lastAction":"setup","productVersion":"1.0","modificationTime":null,"productId":"skype","actionProgress":"","type":"ProductOnClient","targetConfiguration":"installed","actionSequence":null}],"id":1}
[8] [8/28/2012 11:57:08] got Furl: https://172.20.180.81:4447/rpc
[6] [8/28/2012 11:57:08] JSON service request https://172.20.180.81:4447/rpc productOnClient_updateObject
[8] [8/28/2012 11:57:08] Creating TSuperObject with: {"clientId":"carlesvb.midoti.net","actionResult":"successful","installationStatus":"installed","actionRequest":"none","packageVersion":"1","ident":"skype;LocalbootProduct;carlesvb.midoti.net","productType":"LocalbootProduct","lastAction":"setup","productVersion":"1.0","modificationTime":null,"productId":"skype","actionProgress":"","type":"ProductOnClient","targetConfiguration":"installed","actionSequence":null}
[8] [8/28/2012 11:57:08] JSON service request Furlhttps://172.20.180.81:4447/rpc
[8] [8/28/2012 11:57:08] JSON service request str{"method":"productOnClient_updateObject","params":[{"clientId":"carlesvb.midoti.net","actionResult":"successful","installationStatus":"installed","actionRequest":"none","packageVersion":"1","ident":"skype;LocalbootProduct;carlesvb.midoti.net","productType":"LocalbootProduct","lastAction":"setup","productVersion":"1.0","modificationTime":null,"productId":"skype","actionProgress":"","type":"ProductOnClient","targetConfiguration":"installed","actionSequence":null}],"id":1}
[7] [8/28/2012 11:57:08] Registry started with redirection (32 Bit)
[6] [8/28/2012 11:57:08] Registry key [HKLM\SOFTWARE\opsi.org\winst] opened
[6] [8/28/2012 11:57:08] Variable "RebootRequested" is keeping its value "0"
[6] [8/28/2012 11:57:08] Variable "LastLogFilename" is keeping its value "c:\tmp\instlog.txt"
[6] [8/28/2012 11:57:08] Variable "ContinueLogFile" is keeping its value "0"
[6] [8/28/2012 11:57:08] Variable "NumberOfErrors" is keeping its value "0"
[6] [8/28/2012 11:57:08] Key flushed
[6] [8/28/2012 11:57:08] Key closed
[8] [8/28/2012 11:57:10] got omc.jsonUrlString: {"method":"backend_exit","params":[],"id":1}
[8] [8/28/2012 11:57:10] got omc.jsonUrlString: {"method":"backend_exit","params":[],"id":1}
[8] [8/28/2012 11:57:10] got Furl: https://172.20.180.81:4447/rpc
[6] [8/28/2012 11:57:10] JSON service request https://172.20.180.81:4447/rpc backend_exit
[8] [8/28/2012 11:57:10] JSON service request Furlhttps://172.20.180.81:4447/rpc
[8] [8/28/2012 11:57:10] JSON service request str{"method":"backend_exit","params":[],"id":1}
[1] [8/28/2012 11:57:10] ============ winst Version 4.11.2.9 WIN32 is regularly exiting. Time 2012-08-28 11:57:10 .
It says that the icon doesn't exist, but it is there in c:\Users\Public\Desktop

I tried with common_desktopdirectory, desktop, desktopdirectory... no luck
I also tried with "c:\Users\Public\Desktop" but then it says that is not a valid name :?

Any clue of what I'm doing wrong?

Thank you very much
Carles
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3319
Registriert: 04 Jun 2008, 14:27

Re: Problem with desktop icons

Beitrag von d.oertel »

Hi,

just for debug purpose insert the following code before you call the linkFolder section:

Code: Alles auswählen

if FileExists("%CommonDesktopDir%\skype.lnk")
  comment "link found"
else
  comment "link not found"
endif
if FileExists("c:\users\public\skype.lnk")
  comment "link found"
else
  comment "link not found"
endif
and post the log again ..

regards

d.oertel
opsi support - uib gmbh

For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org
Antworten