[RESOLVED] Creating RAS Parallels Package

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
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
Locked
Emmanuel64
Messages: 46
Registration: February 23, 2024 - 09:37

December 9, 2025 - 11:55 AM

Good morning
I just created a package for RAS Parallels, I tested the installation and uninstallation via pyscripter, without any problems.
Once the package is created, during deployment via wapt, the installation and auditing complete, but the software is not actually installed. Do you have any idea why?
In case you need it, the software installs in C:\Users\user\AppData\Roaming\ParallelsClient\

Thank you in advance for your help.

My package:

Code: Select all

# -*- coding: utf-8 -*-
from setuphelpers import *

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def install():
    # Declaring local variables

    # Installing the software
    print("Installing: BL_RASClient.exe")
    install_exe_if_needed('BL_RASClient.exe',
        silentflags='/VERYSILENT /NORESTART',
        key='',
        min_version='20.2.25892'
    )

def session_setup():
    if not isdir(makepath('c:/Echanges')):
            mkdirs('c:\\Echanges')



def uninstall():
    print('Uninstalling BL_RASClient')
    killalltasks(ensure_list(control.impacted_process))
    uninstall_exe = makepath(user_appdata(), 'ParallelsClient', 'BasicClientInstaller.exe')
    print('Using uninstaller:', uninstall_exe)
    if isfile(uninstall_exe):
        run(u'"{}" /verysilent'.format(uninstall_exe), timeout=300)
    else:
        print('Desinstallateur introuvable : {}'.format(uninstall_exe))
    remove_tree(r'c:\Echanges', ignore_errors=True)

WAPT Enterprise
Version 2.6.1.17576
User avatar
blemoigne
Messages: 178
Registration: July 17, 2020 - 11:29

December 9, 2025 - 12:28

Hello,
does the executable accept the /allusers flag?
Emmanuel64
Messages: 46
Registration: February 23, 2024 - 09:37

December 9, 2025 - 12:34

Hello

, I just tested it, the installation was successful via PyScripter with the /ALLUSERS flag but it didn't apply.
WAPT Enterprise
Version 2.6.1.17576
User avatar
blemoigne
Messages: 178
Registration: July 17, 2020 - 11:29

December 9, 2025 - 3:06 PM

I saw that the MSI did the job and installed it correctly in Program Files:
https://www.parallels.com/fr/products/r ... ad/client/
Emmanuel64
Messages: 46
Registration: February 23, 2024 - 09:37

December 9, 2025 - 3:11 PM

Thanks @blemoigne.

Unfortunately, it's a repackaged client RAS (Rapid Action Replay) from our software publisher's company, and it's in .exe format. Not good otherwise. :roll:
WAPT Enterprise
Version 2.6.1.17576
User avatar
blemoigne
Messages: 178
Registration: July 17, 2020 - 11:29

December 9, 2025 - 3:33 PM

Alternatively, you can retrieve the ParallelsClient directory copied to appdata and incorporate it into the package. This way, you no longer need the executable; you simply need to use copytree2() from the ParallelsClient directory to Program Files and create a shortcut in the Start menu with create_programs_menu_shortcut().
Emmanuel64
Messages: 46
Registration: February 23, 2024 - 09:37

December 10, 2025 - 8:47 AM

Hi,

the publisher is changing their login method on Thursday; I'll test it then.

Thanks for your help.
WAPT Enterprise
Version 2.6.1.17576
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

December 10, 2025 - 10:24

Hi Emmanuel,

you can even recommend that your business software publisher offer the Wapt package directly for their repackaged RAS Parallels software. :-)

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Locked