/build/static/layout/Breadcrumb_cap_w.png

Script giving false positive "success". Not actually working.

Hi guys,

First post here. Be gentle. =P

I have just started playing with scripts to get software installed/uninstalled using the MSI wizard and I am finding it very hit and miss. What works for one bit of software doesn't for another and to add to that it only works once and never again on the same machine.

Using my machine as a testbed, I have been able to deploy and uninstall various bits of software, but only once.

E.g. I was able to deploy 7zip x64 as a test and then uninstall it fine. Now subsequent attempts to reinstall on the same machine are "succeeding" but are in actual fact not succeeding at all.

Then a different variation of the issue was where deployment of Adobe Flash Player "succeeded" but didn't work at all.

I have checked the run status logs to see what they reveal and as expected they dont show anything going wrong.

They do however reference a registry entry which doesn't exist, on my machine at least.

I have no HKEY_LOCAL_MACHINE\SOFTWARE\Kace\ entry in my registry, which looks to be where Kace stores all its data on whats installed and whats not.

Please let me know if there is any info that I have left out that would be of use and I will do my best to provide it ASAP.

Thanks in advance.

Andrew


0 Comments   [ + ] Show comments

Answers (4)

Posted by: jverbosk 11 years ago
Red Belt
3

This doesn't answer your question per se, but I would strongly recommend using the Distribution > Managed Installations screen for handling software installs/uninstalls.  I've personally had more luck with these and they make tracking things much easier.

John


Comments:
  • Thanks John. While waiting for this question to go live (i'm beand new to this community) I called Kace support who helped me find a workaround to my issue. They too recommended what you have suggested and showed me how to the whole process works. (i have been pretty much left to my own devices to figure out this thing.) - designworks 11 years ago
  • Trust me, we've all been there. Check these out and see if they might help:

    https://www.kace.com/support/resources/kb/category/distribution

    https://www.kace.com/support/resources/tutorials

    John - jverbosk 11 years ago
Posted by: jknox 11 years ago
Red Belt
1

The HKLM\SOFTWARE\Dell\Kace\ entry is where the KUID (KACE unique identifier) is stored in the registry.  It might also be under this if you have a 64 bit system: HKLM\Software\WoW6432Node\Dell\KACE.

If you still don't have an entry for InstallID and MachineID, you might have a different issue.

For specifics on why the script is failing, please answer dugullett's questions.  You will also want to enable debug and look at the logs, specifically the runkbot.log file.

https://www.kace.com/support/resources/kb/article/How-to-enable-debug-logs-on-the-KACE-K1000-Client-KBOX-Client-Deployment


Comments:
  • yeah, Kace support also showed me that this is the case for my system also but it didn't appear to be the solution to the problem. - designworks 11 years ago
Posted by: dugullett 11 years ago
Red Belt
0

Can you list the steps your script is taking?

Verify: 

Success:

Remediation:


Comments:
  • Verify

    Verify that “HKLM\SOFTWARE\Kace\MSIWizard\3712!MSIConfigHash†is equal to “620184061â€.

    On Success

    [null]

    Remediation

    Install “7-Zip 9.20 (x64 edition)†with arguments “$(KBOX_SYS_DIR)\msiexec.exe /qf /l* â€log.txt“ /i 7z920-x64.msi â€.
    Set “HKLM\SOFTWARE\Kace\MSIWizard\3712!MSIConfigHash†to “620184061â€.


    On Remediation Success

    Log “7-Zip 9.20 (x64 edition) installed with $(KBOX_SYS_DIR)\msiexec.exe /qf /l* â€log.txt“ /i 7z920-x64.msi †to “outputâ€.


    On Remediation Failure

    Log “7-Zip 9.20 (x64 edition) FAILED to install with $(KBOX_SYS_DIR)\msiexec.exe /qf /l* â€log.txt“ /i 7z920-x64.msi †to “outputâ€. - designworks 11 years ago
Posted by: designworks 11 years ago
Orange Belt
0

Yeah so the Kace support guys helped me find a solution.

 

I have to create a manual Distribution in order for the un/install command to execute success fully, 100% of the time.

It worked fine first time this morning when trying to install. but uninstalling didn't work nor did reinstalling without a lot of fiddling.

 

 

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ