I have a script that identifies the GUID's of any installed openvpn application and removes them one at a time with a 30 second delay between loops using msiexec /x {GUID} /qn.
It then searches 4 key directories for *.ovpn files and deletes them if the exist.
C:\Users
C:\Program Files
C:\Program Files (x86)
C:\Windows\System32\config\systemprofile\appdata\
After that it installs the current bundled MSI from the server for the 3.2 client (openvpn-connect-3.2.0.1064_signed.msi) that I've already downloaded and installs using misexec /i C:\{path to my file}
My problem is that the bundled profile from the MSI installer does not come through and I get some previous profile on my new install.
What am I missing? How is that possible when I've already removed all clients and profiles from the system. Is there a different file type I'm missing? A registry entry (I searched and didn't find any) After the whole thing the only profiles I find are for the new server, but despite that, I still see the old profile and not the new one in my final install. According to the config.json in my test profiles appdata roaming directory it's in my appdata\roamin\openvpn Connect\profiles folder but when I look there are no profiles there...
Essentially I want to remove an old installer/profile msi from one server and replace it with a new installer/profile from a different open VPN server. I just keep getting the previous profile in the new install even after removing all the profiles... it makes no sense...
Issue with Profiles after scripted install
-
aninterestingconcept
- OpenVpn Newbie
- Posts: 5
- Joined: Fri Jul 24, 2020 6:17 pm
- Pippin
- Forum Team
- Posts: 1201
- Joined: Wed Jul 01, 2015 8:03 am
- Location: irc://irc.libera.chat:6697/openvpn
Re: Issue with Profiles after scripted install
Your topic moved because it's not about the Open Source Community version.
I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp
Halton Arp
-
aninterestingconcept
- OpenVpn Newbie
- Posts: 5
- Joined: Fri Jul 24, 2020 6:17 pm
- Pippin
- Forum Team
- Posts: 1201
- Joined: Wed Jul 01, 2015 8:03 am
- Location: irc://irc.libera.chat:6697/openvpn
Re: Issue with Profiles after scripted install
I agree but openvpn-connect-3.2.0.1064 is not open source.
However, since there is not really a better fit under the Commercial version it was put here.
However, since there is not really a better fit under the Commercial version it was put here.
I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp
Halton Arp
