Page 1 of 1

Error creating package

Published: April 14, 2015 - 12:23 PM
by Franck
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.

Re: Package creation error

Published: April 14, 2015 - 4:24 PM
by dcardon
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

Re: Package creation error

Published: April 15, 2015 - 11:05 AM
by Franck
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.

Re: Package creation error

Published: April 17, 2015 - 5:27 PM
by Yvan Karmouta
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?

Re: Package creation error

Published: April 20, 2015 - 09:16
by Franck
Thank you for the information, the problem is solved, thank you for your answers.

Re: Package creation error

Published: March 7, 2016 - 6:05 PM
by knpc
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