I just tried it out. When I created an install task for my machine it immediately when to my computer and created a windows system task to run at the given time. It did not save the path to any file in the admin install directory.
The task was created like this:
I am assuming SBDEV-ENOW7 is the computer name that you were testing the installation on. For me in the install location a Logs folder showed up with my computer name folder in it.
The status.xml file only has basic information in it.
<?xml version="1.0" encoding="UTF-16"?>
I searched my registry and don't find anything about the task location in there.
Did you give all the users write permissions to the Logs folder in the admin image?
Otherwise there might be a problem with the path in the task.
Thank you for your reply. Yes, SBDEV-ENOW7 is the computer name.
I get everything you are saying except at the end of the install, the client machine should update the xml that you show above and change the value of <Status>0</Status> to <Status>2</Status> which would then show the status of "Installed Successfully" in the Admin Image Option Editor. Below is what it looks like when I manually change the value:
All of the machines on this log that show "Install Scheduled" are successful installs. I have permissions to the logs folder in the admin image wide open right now.
The log I am looking at for the path is in C:\Windows\SolidWorks\IM_20170-40300-1100-100\sldim\sldIMLog_20170-40300-1100_00001.txt. It is on the client computer and it is the last two lines in the install log.
I would be curious to know if your status updated in the Admin tool and if you got the same log entry at the end of your install log on the client.
Sorry, I forgot to check back to the forum. I didn't actually install SolidWorks using the deploy automatically function. I have way too many users to keep track of their computer names. I have to go the route of creating my own installer and having the users go to the drive and launch it when they need to install.
It works pretty good for large deployment other than the install confirmation not working. I maintain 100 SolidWorks licenses and over 200 installs using the tool. It gives me a high level of control over what software and what add-ins get installed on each machine or group of machines. I would just like to get the feature working that lets me know that the install was successful so I don't get blindsided by 200 people who's SolidWorks did not install when we upgrade to SolidWorks 2017.
Thanks for your time Paul. I really appreciate it.
Could you use the tool to run a script after the installation completes? Have that script create a file or add a line to a file with information about the install username/computername.
That is a good idea, Paul. That may work as a work-around. It would at least give me an indication of a wide-spread failure.
Thank you. I am going to keep the question open because I would like to know if anyone has gotten that functionality to work in the admin tool. I have been unable to find anyone that has.
I would have to talk with my counter part in IT but we ran into this a few years back. It had to do with giving all the machine names rights to the folder it is trying to update. If I am not mistaken it had to be the machine names because the install is actually run by a system user not actually by you. I can get the specifics from IT if needed.
To close the loop on this in case anyone searches for the problem, this is the solution I found. The double backslash in my original post was a "red herring". I was actually able to get the status updates from the installs by giving the group "Everyone" write and modify permissions to the folder <SolidWorks install location>\64bit\logs. You only have to change the permission on that folder which only contains the install XMLs for the individual machines, so opening the permissions specifically would not be a problem. I would not open the permissions on any of the other folders as it would create the possibility of the user being able modifying your install files.