Page 1 of 1
Creating MSI packages via click/drop
Published: April 19, 2017 - 4:29 PM
by avondra
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!
Re: Creating an MSI package via click/drop
Published: April 19, 2017 - 5:54 PM
by sfonteneau
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
Re: Creating an MSI package via click/drop
Published: April 20, 2017 - 3:03 PM
by avondra
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-Console WAPT.png (5.3 KB) Viewed 5732 times
THANKS
Re: Creating an MSI package via click/drop
Published: April 20, 2017 - 5:55 PM
by avondra
The certificate issue has been resolved, however drag and drop still doesn't work despite UAC being disabled.
Alain
Re: Creating an MSI package via click/drop
Published: April 20, 2017 - 10:09 PM
by sfonteneau
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!
Re: Creating an MSI package via click/drop
Published: April 21, 2017 - 3:10 PM
by avondra
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.
Re: Creating an MSI package via click/drop
Published: April 21, 2017 - 5:10 PM
by agauvrit
Hello,
indeed, disabling UAC is a bit trickier in Windows 10 than in Windows 7.
A package might do it someday, perhaps.
Alexandre