Skip to main content
10-Marble
March 30, 2021
Question

Vuforia Experience Service 9.0.x Windows Silent Install

  • March 30, 2021
  • 2 replies
  • 2573 views

Unattended Windows Installs to C:\ptc\studio-es, even though properties file has installDir=K:\ptc\studio-es.

 

start /W K:\ptc\Vuforia-Experience-Service-9-0-1-b1025-852-windows-installer.exe --mode unattended --optionfile K:\ptc\vuforia-install.properties

 

(Using WSL on the Windows machine)

ls /mnt/?/ptc/studio-es/bin/start*

/mnt/c/ptc/studio-es/bin/start-es.bat

 

grep -Ir 'studio-es' /mnt/k/ptc/vuforia-install.properties /mnt/c/ptc/studio-es/configuration.json | grep  'C:\|K:'

/mnt/k/ptc/vuforia-install.properties:installDir=K:\ptc\studio-es

/mnt/k/ptc/vuforia-install.properties:dbDatafileDir=K:\ptc\studio-es-store

/mnt/k/ptc/vuforia-install.properties:dbDatafile=K:\ptc\studio-es-store/db.sqlite

/mnt/k/ptc/vuforia-install.properties:projectsDir=K:\ptc\studio-es-store/projects

/mnt/k/ptc/vuforia-install.properties:repsDir=K:\ptc\studio-es-store/reps

/mnt/k/ptc/vuforia-install.properties:upgradeDir=K:\ptc\studio-es-store/upgrade

/mnt/c/ptc/studio-es/configuration.json:    "datafilePath": "C:/ptc/studio-es-store/db.sqlite"

/mnt/c/ptc/studio-es/configuration.json:    "storePath": "K:/ptc/studio-es-store/projects",

/mnt/c/ptc/studio-es/configuration.json:    "storePath": "K:/ptc/studio-es-store/reps",

/mnt/c/ptc/studio-es/configuration.json:    "storePath": "K:/ptc/studio-es-store/upgrade"

2 replies

17-Peridot
March 31, 2021

Hello Mike,

 

I have 3 questions :

  • Why use WSL to install Vuforia Experience Service in Windows ?

         From my point of view, we use WSL to do development of cross platform application in Windows and in Linux.

        Vuforia Experience Service has a specific Windows installer who similar command line should work in Command Prompt.

  •     Do you reproduce the same issue in Command Prompt using similar command line with Windows install wizard ?
  • Are you using Linux package or Windows install wizard of Vuforia Experience Service ?

 

Best regards,

Samuel

10-Marble
March 31, 2021

1) I'm NOT using WSL during the install.  (Notice the slashes and drive references.)

  start /W K:\ptc\Vuforia-Experience-Service-9-0-1-b1025-852-windows-installer.exe --mode unattended --optionfile K:\ptc\vuforia-install.properties

 

2) I have no need to reproduce other scenarios.  I only want to use the scenario that isn't working correctly.

 

3) Windows

 

I first generated vuforia-install.properties using the Windows Wizard.  I then replaced with paths in the generated properties file with Ansible variable references, to use it as an Ansible template file.

 

Version 9.0.2 install has the same behavior.

 

Thanks, Mike.

17-Peridot
March 31, 2021

Hello Mike,

 

Thanks you very much for your details. it is more clear for me now.

 

Does the grep command is executed in your install process ?

grep -Ir 'studio-es' /mnt/k/ptc/vuforia-install.properties /mnt/c/ptc/studio-es/configuration.json | grep  'C:\|K:'

 

If my understaning is correctg, in a such case C:\ string should be replace by K:

 

We can see the result is right for other strings except this one :

/mnt/c/ptc/studio-es/configuration.json:    "datafilePath": "C:/ptc/studio-es-store/db.sqlite"

 

Here root drive is C:/ not C:\, it is output by grep command because we studio-es

 

To be more accurate, we need the vuforia-install.properties modified with Ansible variables and the exact command run to run installer with it.

 

Thanks you very much.

 

Best regards,

Samuel

 

17-Peridot
April 1, 2021

Hello Mike Murray,

 

Thanks you very much for the files.

 

It helps me to reproduce the issue locally in my laptop with Vuforia Experience Service installer 9.0.2.

I didn't check with 9.0.3 who has just been released.

Also, in my laptop, I had a previous installation.

So, I am not sure if it has been detected or not.

 

In installation log file, I didn't found a verbose who explains this behavior or bug.

So, I have reported a JIRA ticket to R&D to have a reviewed about that.

 

More details in this article :

https://www.ptc.com/en/support/article/CS342012

 

I will update it with feedback from R&D.

 

Best regards,

Samuel