Hello Olaplanche,
I would also be interested in the Pronote package as I work across several schools and it would be a great help and save me a lot of time.
Thank you in advance.
[SOLVED] Edt Package v2022 build 0.3.0 / Pronote v2022 build 0.3.0
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
-
olaplanche
- Messages: 178
- Registration: January 26, 2017 - 11:11
Hello,
Pronote package sent!
Best regards,
Pronote package sent!
Best regards,
Last edited by olaplanche on 07 Sep 2018 - 08:23, edited 1 time.
- Installed WAPT version: 2.6.0.16795 Enterprise
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
-
e-annaThouet
- Messages: 2
- Registration: Sep 4, 2018 - 1:47 p.m.
Thank you so much for the speed; the package will save me a tremendous amount of time.
Sincerely
Sincerely
-
olaplanche
- Messages: 178
- Registration: January 26, 2017 - 11:11
Hello,
EDT package sent!
Best regards,
EDT package sent!
Best regards,
- Installed WAPT version: 2.6.0.16795 Enterprise
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
-
olaplanche
- Messages: 178
- Registration: January 26, 2017 - 11:11
Hello,
It's done!
Best regards,
It's done!
Best regards,
- Installed WAPT version: 2.6.0.16795 Enterprise
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
-
olaplanche
- Messages: 178
- Registration: January 26, 2017 - 11:11
Good morning,
I have just updated the code for the uninstall part of the edt package as shown below:
However, as mentioned in a previous post, uninstallation doesn't work via the wapt package, nor from pyscripter run as administrator. On the other hand, the package's `run` command executes and correctly uninstalls the software when run manually from a command prompt (command prompt) run as administrator.
Although I don't really need to uninstall the edt/pronote packages once they're installed, and during a major update (v2017 -> v2018), the new version uninstalls the previous one, the fact that the uninstallation has never worked has never bothered me. But if anyone has an explanation or suggestion, I'd obviously be interested!
I have just updated the code for the uninstall part of the edt package as shown below:
Code: Select all
# -*- coding: utf-8 -*-
from setuphelpers import *
uninstallkey = []
def install():
print('installing wapt-edt2018')
install_exe_if_needed("Install_EDTclient_FR_2018.0.2.1_win64.exe",silentflags='-s -f1%s\Setup.iss' % basedir,key='{56186141-47B5-4BF6-A06E-6D6EED12C720}',min_version='0.0.2.1',killbefore='Client EDT.exe')
uninstallkey.remove('{56186141-47B5-4BF6-A06E-6D6EED12C720}')
remove_desktop_shortcut('EDT2017.lnk')
create_desktop_shortcut(r'EDT2018',target=u'C:\Program Files\Index Education\EDT 2018\Réseau\Client EDT.exe',arguments=r'-Adresse "SERVERNAME" -PortTcp "SERVERPORT"')
def uninstall():
print('uninstalling wapt-edt2018')
import tempfile
pathuninstallfile = makepath(tempfile.gettempdir(),'Uninstall.iss')
data = ur"""[InstallShield Silent]
Version=v7.00
File=Response File
[File Transfer]
OverwrittenReadOnly=NoToAll
[{56186141-47B5-4BF6-A06E-6D6EED12C720}-DlgOrder]
Dlg0={56186141-47B5-4BF6-A06E-6D6EED12C720}-MessageBox-0
Count=2
Dlg1={56186141-47B5-4BF6-A06E-6D6EED12C720}-SdFinishReboot-0
[{56186141-47B5-4BF6-A06E-6D6EED12C720}-MessageBox-0]
Result=6
[{56186141-47B5-4BF6-A06E-6D6EED12C720}-SdFinishReboot-0]
Result=1
BootOption=0
"""
fichier = open(pathuninstallfile, "w")
fichier.write(data)
fichier.close()
run(r'"%s\InstallShield Installation Information\{56186141-47B5-4BF6-A06E-6D6EED12C720}\setup.exe" -runfromtemp -l0x040c -uninst -removeonly -s -f1%s' % (programfiles32,pathuninstallfile))
remove_file(pathuninstallfile)
remove_desktop_shortcut('EDT2018.lnk')Although I don't really need to uninstall the edt/pronote packages once they're installed, and during a major update (v2017 -> v2018), the new version uninstalls the previous one, the fact that the uninstallation has never worked has never bothered me. But if anyone has an explanation or suggestion, I'd obviously be interested!
- Installed WAPT version: 2.6.0.16795 Enterprise
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
Hello again,
thank you for your reply.
Indeed, based on our discussions, I was pretty sure a solution hadn't been found.
Thank you for the updated code.
I'm not familiar with Pronote, but the fact that the new installation uninstalls the old one is a good thing.
I'll try to look into it a bit more; otherwise, I'll rely on the new school year.
Thanks again.
Have a good rest of the day.
Anne-Laure
thank you for your reply.
Indeed, based on our discussions, I was pretty sure a solution hadn't been found.
Thank you for the updated code.
I'm not familiar with Pronote, but the fact that the new installation uninstalls the old one is a good thing.
I'll try to look into it a bit more; otherwise, I'll rely on the new school year.
Thanks again.
Have a good rest of the day.
Anne-Laure
