Active Setup / Stub path...
and yet another question...
I'd like to have an active setup script run when each user logs into the machine. The problem is that in order to do this, a product must be installed.
Example:
Software\Microsoft\Active Setup\Installed components\{37A3379...etc...}
If the product 37A3379 is not installed, having a stubpath will not run. Is there a way to get this to run regardless if a product is installed or not.
RunOnce is not an option as this will of course only run once. :)
HELP!
I'd like to have an active setup script run when each user logs into the machine. The problem is that in order to do this, a product must be installed.
Example:
Software\Microsoft\Active Setup\Installed components\{37A3379...etc...}
If the product 37A3379 is not installed, having a stubpath will not run. Is there a way to get this to run regardless if a product is installed or not.
RunOnce is not an option as this will of course only run once. :)
HELP!
0 Comments
[ + ] Show comments
Answers (19)
Please log in to answer
Posted by:
anonymous_9363
14 years ago
Posted by:
Secondlaw
14 years ago
Posted by:
mekaywe
14 years ago
Posted by:
Secondlaw
14 years ago
Posted by:
mekaywe
14 years ago
Posted by:
Secondlaw
14 years ago
Posted by:
Secondlaw
14 years ago
Posted by:
mekaywe
14 years ago
Posted by:
Secondlaw
14 years ago
"XYZ is not required to be a product code"
Ok... I think I follow you here... what your'e saying is that anything placed within this hive should technically run active setup... I don't need to have a product code here... See, I thought that a product code was required here but I think you're saying that it can be anything because it's not really associated with anything. Now that I think about it, Active Setup is not part of Windows Installer so I think what you're saying makes sense.
So my problem is that the items placed in this hive are not executing for some reason. I thought they were not executing because my product is not installed. That doesn't matter though... Active setup doesn't care what you put in there... Must be a problem with the machine I'm trying this on. Hmmmmm... We making sense now? :)
Ok... I think I follow you here... what your'e saying is that anything placed within this hive should technically run active setup... I don't need to have a product code here... See, I thought that a product code was required here but I think you're saying that it can be anything because it's not really associated with anything. Now that I think about it, Active Setup is not part of Windows Installer so I think what you're saying makes sense.
So my problem is that the items placed in this hive are not executing for some reason. I thought they were not executing because my product is not installed. That doesn't matter though... Active setup doesn't care what you put in there... Must be a problem with the machine I'm trying this on. Hmmmmm... We making sense now? :)
Posted by:
mekaywe
14 years ago
Posted by:
sshiva018
14 years ago
Posted by:
kardock
14 years ago
Posted by:
anonymous_9363
14 years ago
Just some background info, for clarification...
The reason that most people use a product's ProductCode is that, being a GUID, it is (hopefully) unique. You're quite welcome to use whatever name that you like for the key but there is a chance that another, identically-named key will overwrite it at some point.
The reason that most people use a product's ProductCode is that, being a GUID, it is (hopefully) unique. You're quite welcome to use whatever name that you like for the key but there is a chance that another, identically-named key will overwrite it at some point.
Posted by:
nheim
14 years ago
Hi folks,
interesting discussion.
We use the MSI's productcode for active setup so far.
Had an exchange with one of our packaging guys today about this.
And there was another thought: Maybe it's better to use the UpgradeCode for this.
With this, one could substantially reduce the leftovers in the user profiles.
Typically, the productcode changes with each major release, but the upgrade code stays the same for a long time.
Thoughts?
Regards, Nick
interesting discussion.
We use the MSI's productcode for active setup so far.
Had an exchange with one of our packaging guys today about this.
And there was another thought: Maybe it's better to use the UpgradeCode for this.
With this, one could substantially reduce the leftovers in the user profiles.
Typically, the productcode changes with each major release, but the upgrade code stays the same for a long time.
Thoughts?
Regards, Nick
Posted by:
kardock
14 years ago
Posted by:
anonymous_9363
14 years ago
...and, quite sensibly, Nick has opened it out into a more generalised discussion. That is allowed, you know! :)
My point - for which I thought most packagers wouldn't need an explanation - was that GUIDs (of which MSI Product Codes are a good example) are a handy way to provide unique keys to use for the purpose.
My point - for which I thought most packagers wouldn't need an explanation - was that GUIDs (of which MSI Product Codes are a good example) are a handy way to provide unique keys to use for the purpose.
Posted by:
pjgeutjens
14 years ago
Typically, the productcode changes with each major release, but the upgrade code stays the same for a long time.
I'd say it all depends on what you want to do in the Active Setup action. When doing an upgrade of a product, do you want the action to run again or not?
I do suppose that you could use the UpgradeCode and control the triggering by playing with the Version value, but I have the habit of putting the ProductVersion in there, so if I don't want the action to run, I'd have to change that habit...
SO, good point Nick [:D] I'll have to break this down in my head abit more
PJ
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.