Run an app as a dependency that runs as the logged on user. Have it check for the registry key and dump the contents into a file in the users profile somewhere.
Then have your main app's detection method be off of that file. On Fri, Sep 11, 2015 at 11:36 AM, Kevin Johnston < [email protected]> wrote: > No because the deployment requires admin rights. > > > > So I have some funkiness working to get that to deploy as system. > > > > I use App deploy Kit to actually do the install. > > I first delete any registry keys. > > Then I have to copy the files to the local c drive to actually do the > install. > > > > This all works very well, except for when the actually software stays the > same, but a config file that needs to write to the registry is different. > > The problem is I cannot just change the key. The software has a config > file that will write to the registry after it is run, so I basically want > to just reinstall the application, but can’t because it keeps detecting > that it is already installed. > > > > So either it never installs – it detects its already there even though the > regkeys/config are different > > OR > > It always installs because the detection method does not work, so it just > goes over and over.. > > > > It is very frustrating! > > > > I am looking into changing the detection method to look for the regkey > value instead. That may help by pass the SYSTEM deployment, but not sure if > that is the same as just adding the info (in my screenshot) to SCCM. > > > > Thanks, > > > > Kevin Johnston > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Sean Pomeroy > *Sent:* Friday, September 11, 2015 12:25 PM > *To:* [email protected] > *Subject:* Re: [mssms] App Detection Registry - not detecting > > > > Deploying as System is your problem. Can you install for user? > > > > On Fri, Sep 11, 2015 at 12:21 PM Kevin Johnston < > [email protected]> wrote: > > Basically it is an outlook plugin. > > > > It gets installed, and when a user “activates it” it creates a key in > HKCU. This key has a URL link in it. > > What I want to do is detect that if that key has a “different” link then > reinstall the application. > > The user then has to close outlook and re-activate the plugin. This will > in turn create the reg key with the proper link. > > > > So if I were to then re-run the software it should detect the “new/proper” > link and ignore installing it again. > > > > What is happening is it ignores everything, and just constantly installs > the software over and over regardless. And I cannot use an MSI detection > because technically it is the same MSI application, so in that case it > won’t install anything, and that is not what I want. > > > > Thanks, > > > > Kevin Johnston > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Ryan > *Sent:* Friday, September 11, 2015 12:09 PM > > > *To:* [email protected] > *Subject:* Re: [mssms] App Detection Registry - not detecting > > > > No files are added from this application? > > > > On Fri, Sep 11, 2015 at 11:04 AM, Kevin Johnston < > [email protected]> wrote: > > For this particular software, no we cannot. I will have to see if > AppDeploy toolkit has some kinda detection methods in it. > > > > Thanks, > > > > Kevin Johnston > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Juelich, Adam > *Sent:* Friday, September 11, 2015 11:36 AM > > > *To:* [email protected] > *Subject:* Re: [mssms] App Detection Registry - not detecting > > > > Is this something that may be better suited for Group Policy Preferences? > > > *-----------------------------------------------* > > *Adam Juelich* > > Pulaski Community School District <http://www.pulaskischools.org> > > Client Management Specialist > > 920-822-6075 > > > > On Fri, Sep 11, 2015 at 10:24 AM, Kevin Johnston < > [email protected]> wrote: > > Unfortunately it is the only place any registry keys are created for this > software. > > > > I cannot do an MSI detection as it is the same software version, just a > minor change to a config file. I figured the best way for me to get around > it, would be to look at a registry entry. If it exists move on, if it > doesn’t then please install/reinstall the software. > > > > My end goal is I don’t want it to keep reinstalling. I just want it to > install once. > > > > If the software installs again when another person logs in, that is fine > for us. In our company users do not share machines, so that is a very rare > case. > > > > Thanks, > > > > Kevin Johnston > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Juelich, Adam > *Sent:* Friday, September 11, 2015 11:15 AM > *To:* [email protected] > *Subject:* Re: [mssms] App Detection Registry - not detecting > > > > I think it is recommended to not use User Registry Hives. What happens > when it goes to detect this when someone is logged off, or a different user > is logged in? > > > *-----------------------------------------------* > > *Adam Juelich* > > Pulaski Community School District <http://www.pulaskischools.org> > > Client Management Specialist > > 920-822-6075 > > > > On Fri, Sep 11, 2015 at 10:09 AM, Kevin Johnston < > [email protected]> wrote: > > I have an Application that I have set the detection method to look for a > specific key. > > > > I have 2 machines – 1 that has the right key and one without. > > > > When I deploy the application both machines install it. I would suspect > that the machine that had the right key would just “move along” > > > > The key is an entry that the software creates once it is launched > (HKCU\Software\company\folder\). > > Everyone in the company has this entry, but they will have a different key > > > > This is what my detection looks like: > > > > I cannot figure out why the detection is not working. > > > > Thanks, > > > > Kevin Johnston > > > > > > > ------------------------------ > > *The Pulaski Community School District does not discriminate on the basis > of race, sex, age, religion, handicap, or national origin* > > > > > > > > > ------------------------------ > > *The Pulaski Community School District does not discriminate on the basis > of race, sex, age, religion, handicap, or national origin* > > > > > >
