Afternoon Gents

In need of some ideas!

Having issues with Inevntor 2013 same as anyone else with the product using Roaming profiles I  guess.

 

When a user logs in with a clean profile self heal is activated and the appropriate user files are dropped in.  Problem is this drops settings into the HKCU\Software\Classes section, Im sure you are aware this section of the reg doesn't follow the user so when the user logs onto another station this section of the reg is missing and doesn't self heal.  When launching inventor some essential functions no longer work. Menu's greyed out rendering not working and probably much more.  No primary keys are set in the Classes section (maybe some reason for this not sure) To fix the problem you need to do something to activate the self heal process.  For me I removed the HKCU\Software\Autodesk\Inventor key.  This triggers the self heal process adding the missing reg files to HKCU\Software\Classes.  Launch Inventor and all working again.

I decided to create an active setup MSI that checks to see if one of the known essential reg keys are present. HKCU\Software\Classes\ section.  If reg key missing delete "HKCU\Software\Autodesk\Inventor" to trigger self heal.  Works but once the Active setup has complete it adds the "version 1" to HKCU Active setup area. Move to the next station and you then have no Active setup as the entry now exists.

Next I've tried creating the same active setup process but using a wise script.exe that installs with the msi and called when the Active setup key is missing. The exe now looks for a key in the HKCU\Software\Classes and if found assumes the install is ok and then attempts to delete the Active setup from the Current user profile (so at next logon it will check again). If the Key is not found it deletes 2 reg keys, Active setup and the Primary Key that sets off Inventors self heal.  Unfortunately this seems to fail as the Active setup key thats placed into the CU profile is only present after the EXE is run, making it too late!

Any other ideas how I can remove the active setup key once it's finished?

I'm also not sure how the self heal works with inventor, I can't see any log files after self heal with any MSI launching so it could be using a different process to drop the files in.  I also don't want to create any MST's for the package its massive! removing it from our server + stations would take time I don't have.  (Autodesk Academy 2013)

I'd like to create a ProfileFix.msi that kicks off the self heal or whatever process it's using.

I hope this makes sense.

Answer Summary:
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

1

Found a solution not great but couldn't think of anything else.  The wisescript exe I created I've told it to run the Inventor.exe after it decides if the registry needs fixing or not.  Installed this to the inventor fodler and creted a shortcut that all users have access to.  When a user launched the shortcut it will fix any profile issues then launch inventor triggering self heal if required.

 

Active setup just doesn't work for this situation.

Answered 01/24/2013 by: mikester1980
Orange Belt

Please log in to comment
1

Make the regkey "keypath" ( component setting)?

Answered 01/23/2013 by: jaybee96
Red Belt

  • So your question is only how you can be sure that a certain HKCU\Software\Classes key is being available?
    did you try HKCR? or are there also HKLM settings...

    Roaming profile means that the profile is traveling with the user. incl. registry? So the key should be there and if not activesetup / or repair will kick in.
Please log in to comment
1

Hi

 

Sry Im not really understanding your answer.  I guess an easier question would be, how to remove an Active setup from the HKCU once the compare has been done so it will compare everytime the user logs in.

Answered 01/23/2013 by: mikester1980
Orange Belt

  • It does compare everytime it's logged in. If it doesn't exists then it creates it and runs "StubPath".
Please log in to comment
1

Are you trying to delete the reg key when they exit inventor?

Answered 01/23/2013 by: SMal.tmcc
Red Belt

Please log in to comment
1

Let me just clarify a couple of points. Active setup will run once. when using roaming profile the hkcu will be written back to server on log off.  Problem being if I log onto another station that same data will be returned to the next station. So the active setup will not run leaving my registry still missing essential setup data. The hkcu\software\classes does not roam this section holds the data needed and because active setup will not run on next station login I will always be missing this data unless I reset the users profile or trigger the self heal.

i can trigger self heal, not best practice I'm sure but for what I'm looking to do I can't find any other solution, what I can't do is make active setup delete its own compare key from the CU section of the reg after running the stubpath

Answered 01/23/2013 by: mikester1980
Orange Belt

  • Use %COMPUTERNAME% after the productcode as name for the active setup key. So you are sure it will run on every client once, even when the user allready performed the active setup and the HKCU entry is roamed. BUT, this wont work, if the client will be reinstalled..
Please log in to comment
This content is currently hidden from public view.
Reason: Removed by member request
For more information, visit our FAQ's.

Answer this question or Comment on this question for clarity