Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
I never use the default path but I always install each update in parallel with the build code in the path. That way I can run as many different builds as I care to install. Currently we have 5 builds of WF 2, 3 & 4. I like to stay away from the bleeding edge.
PTC quality philosophy: We've upped our quality standards. Up yours.
I just installed Creo 1.0 F00 and then installed Creo1.0 F010. The install asked me if I wanted to delete the old C:\Program Files\PTC\Creo 1.0\Common Files\F000folder or not. I chose to delete the C:\Program Files\PTC\Creo 1.0\Common Files\F000 folder and the install created a new folder C:\Program Files\PTC\Creo 1.0\Common Files\M010.
Bryan
I am with David on this. I always choose a simpler install path and add the _build to the install folder. This allows me to go back to an old build quickly if the new build had a bug that was going to hurt us.
I also install only once on the network so I can install new builds while everyone is still running the current build. Next time they close and relaunch Creo, they are running the latest build and have no clue. I like it this way.
In Reply to David Gallup:
I never use the default path but I always install each update in parallel with the build code in the path. That way I can run as many different builds as I care to install. Currently we have 5 builds of WF 2, 3 & 4. I like to stay away from the bleeding edge.
PTC quality philosophy: We've upped our quality standards. Up yours.
"Too many people walk around like Clark Kent, because they don't realize they can Fly like Superman"
Open a system window from withing Pro/E; type set, and presto you will have a listing of all variables currently set...! Based upon my experience, the PRO_DIRECTORY variable is not available; however there is usually something similar that will get you there. Simply refer to the desired varible via $<name> in your ProE config files, or %<name>% in your scripts. Good Luck!
I got the impression that $PRO_DIRECTORY is simply a placeholder for you to fill in with the directory path specific to your facility.
That doesn't sound right to me - I've always seen a number of variables that are set by PTC; in my particular case now "PRO_DIRECTORY" is avialable.
Make sure that you try the "set" command from a *Pro/E* command prompt. To do this, you must choose: "Window / Open System Window" from within a live Pro/E session...
All of the variables displayed in this manner may be invoked from within a Pro/E session; via $<name> in the config files, or by %<name>% in a batch script triggered by Pro/E.
Gotcha - *now* I understand what you are trying to accomplish...
Another way to go about this would be to figure out what build(s) are loaded (by parsing the file named "instlog.txt", which located in the <loadpoint>\uninstall folder) I have a script that I wrote a few years ago that does this that I could share if you want...
Just thining out-loud here - you could step thru all top-level folders in your PTC installation folder; find all the <loadpoint>\uninstall\instlog.txt files & compile a list of builds. Then I guess that you would have to figure out which one is the latest build - yikes!
I think that it would be best to get rid of the "build-code-in-the-path" thing. What is the value-added here? :^)
I quickly update all my scripts by using the Find and Replace function. This changes the path everywhere on my script and it takes only seconds to do.
"Too many people walk around like Clark Kent, because they don't realize they can Fly like Superman"