Page 3 of 3
Re: [Wapt - installation path]
Published: May 25, 2016 - 09:49
by shirocen
Up!
Re: [Wapt - installation path]
Published: May 25, 2016 - 10:39
by sfonteneau
shirocen wrote:Hmm, the commands still aren't working...
Even the call to "filetocopy()" does nothing on the client; no files are copied.
And yet WAPT continues the installation as if nothing were wrong and installs the software on C:, especially since
I have no record of what's happening and no logs... nothing...
Are you testing in PyScripter?
If so, does it work in PyScripter?
Re: [Wapt - installation path]
Published: May 30, 2016 - 09:25
by shirocen
I edit the setup.py files using Windows Notepad, if that's what you were asking.
It seems the machine doesn't even have Python installed, which would explain why setup.py isn't working.
After checking, it appears wapt has its own Python implementation, which isn't accessible from my system.
So I installed Python and tested setup.py:
`filecopyto('setup.ini','C:/windows/temp/')` -> works correctly; `
run(r'"Firefox Setup 36.0.4.exe" -ms /INI=c:/windows/temp/setup.ini',timeout=300)` -> launches a silent installation that
doesn't use D: as the installation path, as specified in my previously copied setup.ini.
I found the program in: C:\Program Files\Mozilla Firefox
Re: [Wapt - installation path]
Published: May 30, 2016 - 1:58 PM
by sfonteneau
I recommend installing the "waptdev" group package on the machine where you develop your Wapt packages.
Waptdev is available in the tranquil.it repository.
You can then directly test the installation using the `run` command on the left in PyScripter.
Regarding your command with the .ini file, I recommend using the method described here:
viewtopic.php?f=9&t=466&start=10#p1193.
This avoids copying the .ini file using the current path when running the package.
- Simon