Error creating 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
franck
Messages: 6
Registration: Apr 14, 2015 - 12:14

April 14, 2015 - 12:23

Hello,

I'm currently trying to create a Symantec software package for deployment across the network. I created the package using the .msi file and then another package using the .exe file. However, when I test each of these two packages with the command `wapt-get install ...`, I get the following error:

CRITICAL Unable to set param runstatus: OperationalError: attempt to write a readonly database
FATAL ERROR: OperationalError: attempt to write a readonly database


Thank you in advance for your help.
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

April 14, 2015 - 4:24 PM

This message indicates that you are either not an administrator or you have User Account Control (UAC) enabled. For package creation, it is recommended to use a virtual machine with an administrator account and UAC disabled.

If you are on a regular user machine, you can switch to administrator privileges by running: `runas /user:administrator cmd.exe`. Afterward, you should be able to run the `wapt-get install` command from the command line.

The WAPT service itself runs under the "local system" account and can perform the installation even if users have restricted rights and UAC is enabled.

Sincerely,

Denis Cardon
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
franck
Messages: 6
Registration: Apr 14, 2015 - 12:14

April 15, 2015 - 11:05

Thank you for your reply.
However, when testing the package, I get the following message:

Installing WAPT file C:\waptdev\tis-symantecendpointprotection-wapt
installing tis-symantecendpointprotection
2015-04-15 11:02:58,038 WARNING ('"Sep.msi" /q /norestart',) command returns code
1603

Results:

=== install packages ===
C:\waptdev\tis-symantecendpointprotection-wapt | tis-symantecendpointprotection
(12.1.5337.5000-0)

And nothing installs.
User avatar
Yvan Karmouta
Messages: 34
Registration: June 18, 2014 - 10:09
Contact :

April 17, 2015 - 5:27 PM

This error is a return code from the MSI itself. Simply running a silent installation is not enough to ensure the software installs. Have you tried the command `Sep.msi /q /norestart` directly in a command prompt?
Yvan Karmouta - Tranquil IT Systems
Feel free to leave us your opinion on Wapt in the forum, or to answer our questionnaires :).
franck
Messages: 6
Registration: Apr 14, 2015 - 12:14

April 20, 2015 - 09:16

Thank you for the information, the problem is solved, thank you for your answers.
knpc
Messages: 63
Registration: Nov. 20, 2015 - 4:40 p.m.

March 7, 2016 - 6:05 PM

Hi,

it would be great to know the solution please, as I have the same problem.
We could share it with the community.

Thanks

, Knpc
Locked