Creating MSI packages via click/drop

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
avondra
Messages: 35
Registration: Nov 9, 2016 - 12:02

April 19, 2017 - 4:29 PM

Hello,
I'm having trouble with the new drag-and-drop feature for creating .msi packages in the private repository.
Instead of a "+", I get a "Forbidden" symbol when I drag the package, even though I'm on version 1.3.12.3.
Do you have any ideas?
Thanks for your great work!
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

April 19, 2017 - 5:54 PM

https://lists.tranquil.it/pipermail/wap ... 02240.html

Actually, to be more precise, it's because of User Account Control (UAC), and it's precisely because it's running as administrator that drag and drop doesn't work.

Simon
avondra
Messages: 35
Registration: Nov 9, 2016 - 12:02

April 20, 2017 - 3:03 PM

Hello Simon,
I disabled UAC but it didn't change anything...
I'm also having trouble connecting to the public package server; I'm getting a certificate error. Are you experiencing any issues on your end?
Traceback (most recent call last):
File "
File "C:\Program Files (x86)\wapt\waptdevutils.py", line 165, in update_external_repo
packages = repo.search(search_string,newest_only=newest_only)
File "C:\Program Files (x86)\wapt\waptpackage.py", line 700, in search
for package in self.packages:
File "C:\Program Files (x86)\wapt\waptpackage.py", line 1190, in packages
self._load_packages_index()
File "C:\Program Files (x86)\wapt\waptpackage.py", line 1151, in _load_packages_index
packages_answer = requests.get(self.packages_url,proxies=self.proxies,timeout=self.timeout, verify=self.verify_cert,headers=default_http_headers())
File "C:\Program Files (x86)\wapt\lib\site-packages\requests\api.py", line 69, in get
return request('get', url, params=params, **kwargs)
File "C:\Program Files (x86)\wapt\lib\site-packages\requests\api.py", line 50, in request
response = session.request(method=method, url=url, **kwargs)
File "C:\Program Files (x86)\wapt\lib\site-packages\requests\sessions.py", line 471, in request
resp = self.send(prep, **send_kwargs)
File "C:\Program Files (x86)\wapt\lib\site-packages\requests\sessions.py", line 579, in send
r = adapter.send(request, **kwargs)
File "C:\Program Files (x86)\wapt\lib\site-packages\requests\adapters.py", line 430, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
2017-04-20 14_59_03-WAPT Console.png
2017-04-20 14_59_03-Console WAPT.png (5.3 KB) Viewed 5733 times
THANKS
avondra
Messages: 35
Registration: Nov 9, 2016 - 12:02

April 20, 2017 - 5:55 PM

The certificate issue has been resolved, however drag and drop still doesn't work despite UAC being disabled.
Alain
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

April 20, 2017 - 10:09 PM

I just tried again:

UAC disabled (see doc) (don't forget the restart) Works perfectly.


Otherwise, go to Tools --> Create a package template from an installer --> choose an installer... it's exactly the same!
avondra
Messages: 35
Registration: Nov 9, 2016 - 12:02

April 21, 2017 - 3:10 PM

Everything is working perfectly now. I had to disable UAC via the registry because I couldn't do it through the Control Panel, even as an administrator. Perhaps you could add this option to the documentation, which is already very well done.

1) Open the Windows Registry Editor (regedit):
2) Go to the key [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
3) Change "EnableLUA" by setting its value to "0" (zero).
4) Restart the machine.

Thank you.
User avatar
agauvrit
WAPT Expert
Messages: 238
Registration: Nov 17, 2016 - 10:25
Location: Nantes
Contact :

April 21, 2017 - 5:10 PM

Hello,

indeed, disabling UAC is a bit trickier in Windows 10 than in Windows 7.

A package might do it someday, perhaps. ;)

Alexandre
Locked