[SOLVED] 32-bit version of a 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
benoitpatin
Messages: 37
Registration: February 21, 2018 - 5:05 PM

March 27, 2018 - 4:26 PM

Good morning,

- Installed WAPT version: 1.5.1.18 Community
- Linux Debian 9 server OS
- Operating system of the administration/package creation machine: Windows 10

I downloaded the 32-bit version of Visio Viewer from the Microsoft website.
I create the package in wapt, I launch the installation, I retrieve the uninstallkey (with wapt-get list-registry), I enter it in setup.py and I recreate the package.
I'm installing the package on a 64-bit Windows 10 system. The application installs correctly, but I get a warning:

Code: Select all

EWaptException: The uninstall key: 95160000-0052-040C-0000-0000000FF1CE has not been found in system registry after software installation.
After doing some research in the registry, I noticed that the uninstall key is not in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ but in HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\

How do I tell Wapt where to look for the key in the right place?

THANKS
User avatar
htouvet
WAPT Expert
Messages: 436
Registration: March 16, 2015 - 10:48
Contact :

March 27, 2018 - 4:39 PM

Normally, Wapt searches in both locations by default

However, you seem to have forgotten the curly braces in the uninstallkey...

Code: Select all

key = "{95160000-0052-040C-0000-0000000FF1CE}"
Tranquil IT
benoitpatin
Messages: 37
Registration: February 21, 2018 - 5:05 PM

March 27, 2018 - 4:51 PM

It might indeed be because I wrote it like this: uninstallkey = ['95160000-0052-040C-0000-0000000FF1CE']

But it's written like this in the documentation: https://www.wapt.fr/wapt-1.5/CreationPa ... index.html

I'll try with your syntax.
benoitpatin
Messages: 37
Registration: February 21, 2018 - 5:05 PM

March 27, 2018 - 5:02 PM

It works much better immediately with the correct syntax ;)
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

March 30, 2018 - 7:58 PM

Good evening Benoît,
benoitpatin wrote: March 27, 2018 - 4:51 PM It might indeed be because I wrote it like this: uninstallkey = ['95160000-0052-040C-0000-0000000FF1CE']

But it's written like this in the documentation: https://www.wapt.fr/wapt-1.5/CreationPa ... index.html

I'll try with your syntax.
In fact, you need to copy exactly the same string of characters as what's in the output of the `wapt-get list-registry` command. There are keys with curly braces and keys without, some are GUIDs, others are strings... If it were too simple, it wouldn't be fun :-) I added a note on the relevant doc page to emphasize that the string of characters must be copied exactly as it is.

Happy Easter weekend!

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
benoitpatin
Messages: 37
Registration: February 21, 2018 - 5:05 PM

April 4, 2018 - 11:54

Thank you Denis ;-)
Locked