Hello,
I confess I don't know how to summarize my problem in a title.
I have programs that launch as soon as their .exe files are used. They don't install, so I don't think they're in the registry.
One of the programs uses a library, but it doesn't install in the registry either.
Here are the links to the programs:
http://scientillula.net/logiciels/acqui ... isonic.zip
http://regressi.fr/WordPress/wp-zip/Regressi.zip
I would like to create packages to allow deployment on computers in my high school.
Sincerely,
Bidou
creating packages with exe
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
-
francketaude
- Messages: 24
- Registered: July 1, 2016 - 9:28 PM
Good evening,
This reply might be a little late, but having encountered the same problem (and with the same software), it might still be useful:
http://amilpmarie.fr/WP/index.php/2016/ ... quet-wapt/
I tested it with Regressi (v 3.82) and the avimeca executable (v2.7).
Thanks to the developer,
Franck.
This reply might be a little late, but having encountered the same problem (and with the same software), it might still be useful:
http://amilpmarie.fr/WP/index.php/2016/ ... quet-wapt/
I tested it with Regressi (v 3.82) and the avimeca executable (v2.7).
Thanks to the developer,
Franck.
I also used Olivier's app to create the Avimeca package; here is the code for my setup.py:
Code: Select all
# -*- coding: utf-8 -*-
from setuphelpers import *
import platform
# registry key(s) where WAPT will find how to remove the application(s)
uninstallkey = []
def install():
print('installing dst-avimeca')
copytree2(r'.\Avimeca',r'C:\SCIENCE\Avimeca')
create_desktop_shortcut(r'Avimeca.lnk',target=r'C:\SCIENCE\Avimeca\avimeca3.exe', wDir=r'C:\SCIENCE\Avimeca\\',icon=r'C:\SCIENCE\Avimeca\avimeca3.exe')
def uninstall():
print('uninstalling dst-avimeca')
remove_tree(r'C:\SCIENCE\Avimeca')
remove_desktop_shortcut(r'Avimeca')
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
I also work in a high school, but I don't use Wapt for everything.
For those kinds of situations, I created a network drive called "Programs" where I store all the software that doesn't require installation.
It's much more convenient!
For those kinds of situations, I created a network drive called "Programs" where I store all the software that doesn't require installation.
It's much more convenient!
-
francketaude
- Messages: 24
- Registered: July 1, 2016 - 9:28 PM
Hello Gaelds,
You seem to have installed Avimeca 3:
[quote="gaelds"]I also used Olivier's app to create the Avimeca package; here is the code for my setup.py:
But where did you manage to download it? All the links seem to be broken...
Another question:
Can you explain the "role" of this part of the code?
With all the thanks of a novice,
Franck
You seem to have installed Avimeca 3:
[quote="gaelds"]I also used Olivier's app to create the Avimeca package; here is the code for my setup.py:
But where did you manage to download it? All the links seem to be broken...
Another question:
Can you explain the "role" of this part of the code?
Code: Select all
wDir=r'C:\SCIENCE\Avimeca\\'Franck
Hello,
this might be a bit off-topic, but Aviméca is no longer maintained, and there's a much more efficient alternative that doesn't require any additional codecs: pymecavideo, available at http://outilsphysiques.tuxfamily.org/wi ... ymecavideo. It's compatible with Windows, as well as Linux Debian and potentially all other platforms that can work with Python. The automatic package works very well.
Regards,
Matthieu
this might be a bit off-topic, but Aviméca is no longer maintained, and there's a much more efficient alternative that doesn't require any additional codecs: pymecavideo, available at http://outilsphysiques.tuxfamily.org/wi ... ymecavideo. It's compatible with Windows, as well as Linux Debian and potentially all other platforms that can work with Python. The automatic package works very well.
Regards,
Matthieu
Thanks for the info, Mathieu! I tried creating a package for pymecavideo but I get the following error:
installing Pymecavideo
EWaptSetupException: Fatal error: Setup pymecavideo-6.3.0.exe has been and uninstall key pymecavideo 6.3_is1 found but version is not good
Do you see what it could be?
installing Pymecavideo
EWaptSetupException: Fatal error: Setup pymecavideo-6.3.0.exe has been and uninstall key pymecavideo 6.3_is1 found but version is not good
Do you see what it could be?
Code: Select all
# -*- coding: utf-8 -*-
from setuphelpers import *
import shutil
import time
uninstallkey = ["pymecavideo 6.3_is1"]
def install():
versionpaquet = control['version'].split('-',1)[0]
print('installing Pymecavideo')
install_exe_if_needed('pymecavideo-%s.exe' % versionpaquet ,'/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-','pymecavideo 6.3_is1',versionpaquet)
print ("Pause de 15sec.")
time.sleep(15)
print(u'Raccourci sur le bureau public')
if not isdir(makepath(common_desktop(),'Logiciels','Physique-Chimie')):
mkdirs(makepath(common_desktop(),'Logiciels','Physique-Chimie'))
print(u'Déplacement du raccourci Pymecavideo 6.3')
shutil.move(makepath(common_desktop(),'pymecavideo 6.3.lnk'),makepath(common_desktop(),'Logiciels','Physique-Chimie','Pymecavideo 6.3.lnk'))
def uninstall():
print ("Désinstallation de Pymecavideo 6.3")
if isfile(makepath(common_desktop(),'Logiciels','Physique-Chimie','Pymecavideo 6.3.lnk')):
remove_file(makepath(common_desktop(),'Logiciels','Physique-Chimie','Pymecavideo 6.3.lnk'))
if isfile(makepath(common_desktop(),'Pymecavideo 6.3.lnk')):
remove_file(makepath(common_desktop(),'Pymecavideo 6.3.lnk'))Good morning,
I admit I didn't make it that complex and my uninstallkey is empty.
I'm not yet very familiar with the uninstallation procedures, so I'll avoid saying anything stupid.
Good luck with the rest of your project; Pymecavideo can handle videos with high frame rates. I tested it with my laptop, which films at 120 fps, and it's very useful for fast-moving subjects.
Matthew
I admit I didn't make it that complex and my uninstallkey is empty.
Code: Select all
# -*- coding: utf-8 -*-
from setuphelpers import *
uninstallkey = []
def install():
print('installing esaat-pymecavideo6.3')
run(r'"pymecavideo_6.3_setup.exe" /VERYSILENT')
Good luck with the rest of your project; Pymecavideo can handle videos with high frame rates. I tested it with my laptop, which films at 120 fps, and it's very useful for fast-moving subjects.
Matthew
