If you only want it to install once regardless, you could always just do it as a package.
On Fri, Sep 11, 2015 at 1:01 PM Kevin Johnston < [email protected]> wrote: > Yes the app is run as SYSTEM but installs for all users. > > > > The big catch is that the config file ONLY gets installed as part of the > setup.exe. So the config file and setup.exe are in the same folder. When > you run setup it reads the config file to add “stuff” to the system. > > Then the user clicks on the plugin and this in turn creates a regkey > > > > I might be able to do something with the user state though, I didn’t think > of that. I was hoping that if there was a small chance the user did not > have the app installed, to install it at that time, which is why I figured > if I just did a mass “reinstall” of the plugin it will fix all my issues, > but then I still have a detection problem, as I can’t deploy the same app, > if that app is already installed (obviously), so I was trying to find > something that is “different” and that regkey is changing. > > > > > > Thanks, > > > > Kevin Johnston > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Sean Pomeroy > *Sent:* Friday, September 11, 2015 12:50 PM > > > *To:* [email protected] > *Subject:* Re: [mssms] App Detection Registry - not detecting > > > > So does that app run as system but install for all users there by adding > the registry key to each and every users registry hive? > > > > Why not just create an app that only deploys the config file? Then you can > install for user provided the config file isn't in a part of the file > system the user cannot access. > > > > On Fri, Sep 11, 2015 at 12:38 PM 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* > > > > >
