Page 1 of 1

[RESOLVED] Creating RAS Parallels Package

Published: Dec 9, 2025 - 11:55 AM
by Emmanuel64
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)


Re: Creating RAS Parallels Package

Published: Dec 9, 2025 - 12:28
by blemoigne
Hello,
does the executable accept the /allusers flag?

Re: Creating RAS Parallels Package

Published: Dec 9, 2025 - 12:34
by Emmanuel64
Hello

, I just tested it, the installation was successful via PyScripter with the /ALLUSERS flag but it didn't apply.

Re: Creating RAS Parallels Package

Published: Dec 9, 2025 - 3:06 PM
by blemoigne
I saw that the MSI did the job and installed it correctly in Program Files:
https://www.parallels.com/fr/products/r ... ad/client/

Re: Creating RAS Parallels Package

Published: Dec 9, 2025 - 3:11 PM
by Emmanuel64
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:

Re: Creating RAS Parallels Package

Published: Dec 9, 2025 - 3:33 PM
by blemoigne
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().

Re: Creating RAS Parallels Package

Published: Dec 10, 2025 - 08:47
by Emmanuel64
Hi,

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

Thanks for your help.

Re: Creating RAS Parallels Package

Published: Dec 10, 2025 - 10:24
by dcardon
Hi Emmanuel,

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

Denis