DEV-tools
DEV-tools copied to clipboard
tencent-meeting can not be launched
HI anderlli, tencent-meeting can not be launched again
Bug Report
**Package Name:tencent-meeting.exe
PS C:\Users*******> scoop install tencent-meeting Installing 'tencent-meeting' (3.11.6.402) [64bit] from ander bucket Loading TencentMeeting_0300000000_3.11.6.402.publish.exe from cache Checking hash of TencentMeeting_0300000000_3.11.6.402.publish.exe ... ok. Extracting dl.7z ... done. Running pre_install script... Rename-Item : Cannot process argument because the value of argument "path" is not valid. Change the value of the "path" argument and run the operation again. At line:1 char:1
- Rename-Item -Path "$dir`$_*" -NewName "$version" -Force
-
+ CategoryInfo : InvalidArgument: (:) [Rename-Item], PSArgumentException + FullyQualifiedErrorId : Argument,Microsoft.PowerShell.Commands.RenameItemCommand
Running installer script... Linking ~\scoop\apps\tencent-meeting\current => ~\scoop\apps\tencent-meeting\3.11.6.402 Creating shortcut for Tencent Meeting (wemeetapp.exe) Running post_install script... 'tencent-meeting' (3.11.6.402) was installed successfully!
@NoPKU Hello, I have fixed it now to some extent, and i got different error now. Scoop installs it without problem, but when you try to open the executable, either by shim or via shortcut, it doesn't want to open. I see that is the problem with other tencent meeting manifests too in other buckets.
For some reason, it appears that the Scoop "corrupts" the application or something, because nothing works:
neither this:
{
"version": "3.11.6.402",
"description": "腾讯会议是腾讯云旗下的一款音视频会议软件",
"homepage": "https://meeting.tencent.com",
"license": "BSD-3-Clause",
"url": "https://updatecdn.meeting.qq.com/cos/947a8fd1faf0d491148980605952049b/TencentMeeting_0300000000_3.11.6.402.publish.exe#/dl.7z",
"installer": {
"script": [
"Rename-Item \"$dir\\`$_10_\" \"$dir\\$version\"",
"Remove-Item \"$dir\\wemeetapp_new.exe\" -Force",
"Remove-Item \"$dir\\`$TEMP\", \"$dir\\`$WINDIR\", \"$dir\\`$PLUGINSDIR\" -Force -Recurse"
]
},
"bin": "wemeetapp.exe",
"shortcuts": [
[
"wemeetapp.exe",
"腾讯会议"
]
]
}
nor this:
{
"version": "3.11.6.402",
"description": "腾讯会议",
"homepage": "https://meeting.tencent.com/",
"license": {
"identifier": "Proprietary",
"url": "https://meeting.tencent.com/declare.html"
},
"url": "https://updatecdn.meeting.qq.com/cos/947a8fd1faf0d491148980605952049b/TencentMeeting_0300000000_3.11.6.402.publish.exe#/dl.7z",
"hash": "md5:947a8fd1faf0d491148980605952049b",
"pre_install": "Rename-Item -Path \"$dir\\`$_*\" -NewName \"$version\" -Force",
"installer": {
"script": [
"ensure \"$persist_dir\" | Out-Null",
"New-Item \"$env:APPDATA\\Tencent\\WeMeet\" -ItemType Junction -Target \"$persist_dir\" | Out-Null"
]
},
"post_install": [
"Remove-Item \"$dir\\`$*\" -Recurse -Force -ErrorAction SilentlyContinue",
"Remove-Item \"$dir\\wemeetapp_new.exe\" -Force -ErrorAction SilentlyContinue"
],
"uninstaller": {
"script": "Remove-Item \"$env:APPDATA\\Tencent\\WeMeet\" -ErrorAction 'SilentlyContinue' -Force -Recurse"
},
"shortcuts": [
[
"wemeetapp.exe",
"Tencent Meeting"
]
],
"checkver": {
"url": "https://meeting.tencent.com/web-service/query-download-info?q=%5B%7B%22package-type%22:%22app%22,%22channel%22:%220300000000%22,%22platform%22:%22windows%22%7D%5D&nonce=AAAAAAAAAAAAAAAA",
"regex": "(?sm)url.*?updatecdn.meeting.qq.com/cos/(?<url>.*?publish.exe).*?version\":\"([\\d.]+)\""
},
"autoupdate": {
"url": "https://updatecdn.meeting.qq.com/cos/$matchUrl#/dl.7z",
"hash": {
"url": "https://meeting.tencent.com/web-service/query-download-info?q=%5B%7B%22package-type%22:%22app%22,%22channel%22:%220300000000%22,%22platform%22:%22windows%22%7D%5D&nonce=AAAAAAAAAAAAAAAA",
"mode": "json",
"jsonpath": "$.info-list[0].md5"
}
}
}
while all of these scripts worked in previous versions of Tencent Meeting just fine, now nobody cannot launch it in any repository / bucket.
I think that something happens either in Scoop (which is out of my reach / jurisdiction or maybe the Tencent developers had changed something inside their installer that prevents the Scoop extracting it properly)
ok many thanks, guess i can only wait for the next version to see if it works then
【Dear Anderlli, I found that tencent-meeting has developed to n newer version now and i tried to install it to check if the old problem can be solved now, then i found there is some installation trouble I've meet before, could you please have a look at it?】
PS C:\Windows\System32\WindowsPowerShell\v1.0> scoop install tencent-meeting Installing 'tencent-meeting' (3.11.7.422) [64bit] from ander bucket TencentMeeting_0300000000_3.11.7.422.publish.exe (180.3 MB) [=================================================] 100% Checking hash of TencentMeeting_0300000000_3.11.7.422.publish.exe ... ok. Extracting dl.7z ... done. Running pre_install script... Rename-Item : Cannot process argument because the value of argument "path" is not valid. Change the value of the "path" argument and run the operation again. At line:1 char:1
- Rename-Item -Path "$dir`$_*" -NewName "$version" -Force
-
+ CategoryInfo : InvalidArgument: (:) [Rename-Item], PSArgumentException + FullyQualifiedErrorId : Argument,Microsoft.PowerShell.Commands.RenameItemCommand
Running installer script... New-Item : Directory C:\Users\Panchino\AppData\Roaming\Tencent\WeMeet cannot be removed because it is not empty. At line:2 char:1
- New-Item "$env:APPDATA\Tencent\WeMeet" -ItemType Junction -Target "$p ...
-
+ CategoryInfo : WriteError: (C:\Users\Panchi...\Tencent\WeMeet:String) [New-Item], IOException + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.NewItemCommand
Linking ~\scoop\apps\tencent-meeting\current => ~\scoop\apps\tencent-meeting\3.11.7.422 Creating shortcut for Tencent Meeting (wemeetapp.exe) Running post_install script... 'tencent-meeting' (3.11.7.422) was installed successfully!
@NoPKU Hello again. I've removed the errors from the manifest file, but for the life of me i cannot figure out why the software won't launch in the latest versions. As far as i tested Tencent Meeting cannot be launched from anywhere and from any manifest from any bucket. At least the erroneus persist_dir was removed and that fixes the error that spams in the console, now it should look like this:
@NoPKU Try using WinGet to install it with scoop install extras/wingetui , then run the WinGetUI program and search for tencent meeting and install there.