Problem with Armadillo / SoftwarePassport

Hi,

It seems that the Armadillo action doesn’t work when SoftwarePassport is installed.

SoftwarePassport issues a message telling me that the project file (.arm) is not valid although it is (I can load into into both Armadillo and SoftwarePassport). Then SoftwarePassport is loaded and stops at the welcome screen.

I have replaced this action with an “Execute program” action launching the ArmCline.exe utility and that does the job.

But I thought you’d like to know. Could I have details about the shell command that is actually used by this action? Thanks.

Regards.


Patrick Philippot
MainSoft Consulting Services
www.mainsoft.fr


Hi Patrick,

We have it on our todo list to add support for SoftwarePassport - hopefully we’ll get it into a minor update soon.

as for the command line parameters, it just passes the project file and then optionally /file="file to protect"

cheers,
.t8


Actually, we just had a look at this and it should be working. ie. you need to specify armcline.exe in Tools | Options, and then specify the .arm file in the action. Our tests with both Armadillo and SoftwarePassport worked here. What command line options are you using to call ArmCline?

Hi,

By default, the Armadillo action uses SoftwarePassport.exe. And this doesn’t work. I get the message mentioned above.

[quote]as for the command line parameters, it just passes the project file and then optionally /file=“file to protect”[/quote]

I don’t understand. Since the name of the file to protect is included in the Armadillo / SoftwarePassport project file, there’s no need to pass this name on the command line and there’s no provision for this in the action dialog box anyway. So I don’t see from where this filename is retrieved when the action is run.

Actually, I can reproduce the error if I launch softwarepassport.exe with the following command line, as described in your message:

softwarepassport.exe project_filename /file=file_to_protect

This generates the error I reported. So I guess this is what the Armadillo action is doing and obviously, it shouldn’t.

Anyway, using ArmCline solves the problem: If I specify ArmCline.exe in the Armadillo action options or if I use an “Execute program” action calling ArmCline.exe, I do not have any problem.

Thanks.


Patrick Philippot
MainSoft Consulting Services
www.mainsoft.fr

Hi Patrick,

I have had another look at the problem, the action actually doesn’t use the /file=’’ parameter unless you specify one in the action property page.
The command line is ‘Armadillo.exe yourProject.arm /P’, where /P will force armadillo to protect and exit without prompting for user interaction. The reason you were getting the error is because you were using SoftwarePassword.exe, which does not supprt the /P switch.


Paul.