Quantcast
Channel: psappdeploytoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1769

New Post: Question on registry detection

$
0
0
Hi,

Thanks for the reply. I believe, we are getting really close. The activity is now showing on the logs as per the changes that you sent me yesterday to test. The only issue right now is the .Net does not execute after Getting Registry Key and coming back as Key does not exist. The changes that you sent me are shown below and the logs aswell.

Try this:

$dotNetExtendedInstalled = Get-RegistryKey "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{8E34682C-8118-31F1-BC4C-98CD9675E1C2}"

If ($dotNetExtendedInstalled -eq $false) {
# Install the base EXE
Execute-Process -FilePath "dotNetFx40_Full_x86_x64.exe" -Arguments "/q /norestart" }

LOGS

13-01-2014 08:49:39] [Pre-Installation] User selected to continue...
[13-01-2014 08:49:41] [Pre-Installation] Getting Registry key [Registry::\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{8E34682C-8118-31F1-BC4C-98CD9675E1C2}] ...
[13-01-2014 08:49:41] [Pre-Installation] Registry key does not exist: [Registry::\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{8E34682C-8118-31F1-BC4C-98CD9675E1C2}]
[13-01-2014 08:49:41] [Pre-Installation] Spinning up Progress Dialog in a separate thread with message: [BrainStorm Quick Help x86 3.02 Installation in Progress...]
[13-01-2014 08:49:42] [Pre-Installation] Getting information for installed Application Name [BrainStorm]...
[13-01-2014 08:49:42] [Pre-Installation] uninstall string [] does not match "msiexec", so removal will not proceed.
[13-01-2014 08:49:42] [Installation] Executing [msiexec.exe /i "BrainStormQuickHelpX86.msi" TRANSFORMS="Brainstorm_Training_3.0.mst" DESKTOPICON=0 LOGINMETHOD=SSO COMPANYNAME=gm.com /QN /L*v "C:\Windows\Logs\Software\BrainStormQuickHelpX86_Install.log"]...
[13-01-2014 08:49:42] [Installation] Execution failed with code: 1603
[13-01-2014 08:49:42] [Installation] BrainStorm_QuickHelpx86_3.02_EN_01 Installation completed with exit code [1603].
[13-01-2014 08:49:42] [Installation] -------

Viewing all articles
Browse latest Browse all 1769

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>