Windows 7 Fixlets

(imported topic written by SystemAdmin)

When trying to install an application on a client with Windows 7 nothing happens. I use the following action with no luck

download http://…:52311/Uploads/37d2f0a884a1ae07ef8c44aab20b514d7d03b978/Company%20Application%20Nameexe.tmp

continue if {(size of it = 4061126 AND sha1 of it = “37d2f0a884a1ae07ef8c44aab20b514d7d03b978”) of file " Company%20Application%20Nameexe.tmp" of folder “__Download”}

extract Company%20Application%20Nameexe.tmp

wait “__Download\Company Application Name.exe” /S /v/qn

I’ve even changed out

wait “__Download\Company Application Name.exe” /S /v/qn

for

dos "C:\Windows\System32\ __Download\Company Application Name.exe " /S /v/qn

I beleive this is due to the “Do you want to allow the following program from an unknown publisher to make changes to this computer?” prompt our Windows 7 computers get. (However, I could be wrong)

On the actually machine, with Windows 7, I have to right-click the command prompt and select Run as Administrator. Then I can use Company Application Name.exe" /S /v/qn and it works.

Am I missing a special command that’s specific to Windows 7?

(imported comment written by MattBoyd)

Did you try it under a different version of Windows besides 7? Does it work under WinXP if you use the exact same action? Do you see an exit code in the BES logs? Do you see anything in the system or application event logs?

Since the BES client runs under the SYSTEM context, you’re already running the installer with elevated privileges, so I wouldn’t think that’s your issue.

(imported comment written by SystemAdmin)

download http://…:52311/Uploads/37d2f0a884a1ae07ef8c44aab20b514d7d03b978/Company%20Application%20Nameexe.tmp

continue if {(size of it = 4061126 AND sha1 of it = “37d2f0a884a1ae07ef8c44aab20b514d7d03b978”) of file " Company%20Application%20Nameexe.tmp" of folder “__Download”}

extract Company%20Application%20Nameexe.tmp

wait “__Download\Company Application Name.exe” /S /v/qn

Works flawless under XP

(imported comment written by nberger91)

Try switching off UAC http://forum.bigfix.com/viewtopic.php?id=5234

(imported comment written by SystemAdmin)

Am I missing something else? I’ve disabled UAC and deployed the following to my Windows 7 test machine, all the lines complete succesfully. But the application does not install.

download http://…:52311/Uploads/37d2f0a884a1ae07ef8c44aab20b514d7d03b978/Company%20Application%20Nameexe.tmp

continue if {(size of it = 4061126 AND sha1 of it = “37d2f0a884a1ae07ef8c44aab20b514d7d03b978”) of file " Company%20Application%20Nameexe.tmp" of folder “__Download”}

extract Company%20Application%20Nameexe.tmp

wait “__Download\Company Application Name.exe” /S /v/qn

However, if I type following from the command prompt on the actual Win7 machine it installs correctly

C:>“c:\test\Company Application Name.exe” /S /v/qn

What am I missing?

(imported comment written by MattBoyd)

This is a longshot, but you could try this:

wait “__Download\Company Application Name.exe” /S /v/qn ALLUSERS=2

It’s hard to say if that will actually do anything because you’re not executing an MSI…

http://forum.bigfix.com/viewtopic.php?pid=16940#p16940

(imported comment written by SystemAdmin)

It doesn’t appear that I’m having any luck. I tried the following with no luck:

Status completed but did not install program

wait “__Download\Company Application Name.exe” /S /v/qn ALLUSERS=2

Status completed but did not install program

wait “{pathname of system folder & “\msiexec.exe”}” /i “{(pathname of client folder of current site) & “__Download\Company Application Name.msi”}” /qn /norestart

Status stayed at Running

wait “{pathname of system folder & “\msiexec.exe”}” /i “{(pathname of client folder of current site) & “__Download\Company Application Name.msi”}” /S /v/qn ALLUSERS=2

Status failed

wait “__Download\LAUSD Boardroom Feed.msi” /S /v/qn ALLUSERS=2

(imported comment written by MattBoyd)

How about this:

wait “{pathname of system folder & “\msiexec.exe”}” /i “{(pathname of client folder of current site) & “__Download\Company Application Name.msi”}” ALLUSERS=2 /qn /norestart

You may also want to turn on logging:

wait “{pathname of system folder & “\msiexec.exe”}” /i “{(pathname of client folder of current site) & “__Download\Company Application Name.msi”}” /l*v “{pathname of folder “temp” of windows folder & “\MyLogFile.txt”}”

(imported comment written by SystemAdmin)

Still no luck

The following completed but the application did not install

wait “{pathname of system folder & “\msiexec.exe”}” /i “{(pathname of client folder of current site) & “__Download\Company Application Name.msi”}” ALLUSERS=2 /qn /norestart

I’m not sure what I’m looking for in the log, but I did notice

MSI (s) (B8:3C)

08:39:28:367

: Product: Company Application Name – Installation operation failed.

(imported comment written by Vosh)

I think I may know the cause. I suspect the file in question is locked. Download the file to your Windows 7 machine, right click on it, go to properties and see if Unlock or Unblock whichever it is I forget, is avaliable. Once it’s been unlocked it should work fine and you can send me a 6-pack of Blue Moon as a reward. :smiley: