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

New Post: Regarding the SCCM limitation with Applications and "allow user to interact with program installation"

$
0
0
This is exactly what we talk about. Use ServiceUI.EXE to run the Deploy-Application.EXE. Use this settings:

Program: ServiceUI.exe "Deploy-Application.EXE"

Install for System
Whether or not a user is logged on
Normal

New Post: Regarding the SCCM limitation with Applications and "allow user to interact with program installation"

$
0
0
Thanks for making this more clear to me.
How do you handle the uninstallation?


serviceui.exe "deploy-application.exe uninstall" doesn't work.

New Post: Regarding the SCCM limitation with Applications and "allow user to interact with program installation"

$
0
0
Tyr it with this:
ServiceUI.exe "Deploy-Application.EXE" "–DeploymentType" “Uninstall”

New Post: Regarding the SCCM limitation with Applications and "allow user to interact with program installation"

$
0
0
benG wrote:
Thanks for making this more clear to me.
How do you handle the uninstallation?


serviceui.exe "deploy-application.exe uninstall" doesn't work.
Remove the quotation marks and use this:
ServiceUI.exe Deploy-Application.exe Uninstall

New Post: Regarding the SCCM limitation with Applications and "allow user to interact with program installation"

$
0
0
I haven't written in this thread in a long time. As many people have pointed out, ServiceUI.exe does not seem to work well in 32-bit Windows for some reason.
It works perfectly in 64-bit, so if you're only using that (which you should, it's almost 2015 now people :) ) you're good to go.

If you however must use 32-bit Windows, a workaround is to use psexec.exe instead of ServiceUI.exe. That works well.

New Post: Regarding the SCCM limitation with Applications and "allow user to interact with program installation"

$
0
0
I still have some old 32 Bit XP Machines out there... but.. maybe i just replace them instead of keeping updating...

New Post: Regarding the SCCM limitation with Applications and "allow user to interact with program installation"

$
0
0
The error with Resolve-Error looks like the script can't find the Resolve-Error cmdlet in AppDeployToolkitMain.ps1. Can you make sure you're using the latest beta 3.5 version of AppDeployToolkitMain.ps1?

New Post: Regarding the SCCM limitation with Applications and "allow user to interact with program installation"


New Post: Regarding the SCCM limitation with Applications and "allow user to interact with program installation"

$
0
0
mmashwani wrote:
The error with Resolve-Error looks like the script can't find the Resolve-Error cmdlet in AppDeployToolkitMain.ps1. Can you make sure you're using the latest beta 3.5 version of AppDeployToolkitMain.ps1?
It looks like that Deploy-Application.ps1 doesn't invoke AppDeployToolkitMain.ps1.

New Post: Regarding the SCCM limitation with Applications and "allow user to interact with program installation"

$
0
0
I found the problem, it's line 45:
Set-ExecutionPolicy -ExecutionPolicy 'ByPass' -Scope 'Process' -Force -ErrorAction 'SilentlyContinue'

It returns:
Set-ExecutionPolicy : Windows PowerShell updated your execution policy
successfully, but the setting is overridden by a policy defined at a more
specific scope.  Due to the override, your shell will retain its current
effective execution policy of Unrestricted. Type "Get-ExecutionPolicy -List"
to view your execution policy settings. For more information please see
"Get-Help Set-ExecutionPolicy".
At line:1 char:1
+ Set-ExecutionPolicy -ExecutionPolicy 'ByPass' -Scope 'Process' -Force
-ErrorActi ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
    + CategoryInfo          : PermissionDenied: (:) [Set-ExecutionPolicy], Sec
   urityException
    + FullyQualifiedErrorId : ExecutionPolicyOverride,Microsoft.PowerShell.Com
   mands.SetExecutionPolicyCommand

New Post: Regarding the SCCM limitation with Applications and "allow user to interact with program installation"

$
0
0
That's very strange. So even though it's set to silently continue upon error, you're saying that the script fails at this point because of an attempt change the execution policy. The policy set via GPO takes precedence and the execution policy is not changed, but your script stops executing. If that is the case, then I guess we just have to take that line out so people that define their policy via GPO can run the script.

New Post: Regarding the SCCM limitation with Applications and "allow user to interact with program installation"

$
0
0
I think -ErrorAction has no effect. Here is what I have found:
The ErrorAction parameter has no effect on terminating errors (such as missing data, parameters that are not valid, or insufficient permissions) that prevent a command from completing successfully.
Source: http://technet.microsoft.com/en-us/library/dd315352.aspx

New Post: Regarding the SCCM limitation with Applications and "allow user to interact with program installation"

$
0
0
Does the script work for you if you put the line in a Try/Catch block?
Try {
    Set-ExecutionPolicy -ExecutionPolicy 'ByPass' -Scope 'Process' -Force -ErrorAction 'Stop'
}
Catch {}

New Post: Regarding the SCCM limitation with Applications and "allow user to interact with program installation"

New Post: Regarding the SCCM limitation with Applications and "allow user to interact with program installation"

$
0
0
Great, thanks, fix implemented in beta.

New Post: CM12 App Deployed - Script execution failed with error code -1

$
0
0
Hello,

i just deployed Adobe Reader + Flash with the PS App DeployToolkit + Serviceui.exe to ~300 Clients

Most of them installed the Applications without an issue (So awesome!!!)
However, a few of them did not install.


AppEnforce Log:
Prepared working directory: C:\Windows\ccmcache\t   AppEnforce  14.11.2014 12:45:15 2084 (0x0824)
Prepared command line: "C:\Windows\ccmcache\t\ServiceUI.exe" Deploy-Application.exe Install AppEnforce  14.11.2014 12:45:15 2084 (0x0824)
Executing Command line: "C:\Windows\ccmcache\t\ServiceUI.exe" Deploy-Application.exe Install with system context    AppEnforce  14.11.2014 12:45:15 2084 (0x0824)
Working directory C:\Windows\ccmcache\t AppEnforce  14.11.2014 12:45:15 2084 (0x0824)
Post install behavior is BasedOnExitCode    AppEnforce  14.11.2014 12:45:15 2084 (0x0824)
Waiting for process 3992 to finish.  Timeout = 120 minutes. AppEnforce  14.11.2014 12:45:15 2084 (0x0824)
Process 3992 terminated with exitcode: 4294967295   AppEnforce  14.11.2014 12:45:15 2084 (0x0824)
Looking for exit code -1 in exit codes table... AppEnforce  14.11.2014 12:45:15 2084 (0x0824)
Unmatched exit code (4294967295) is considered an execution failure.    AppEnforce  14.11.2014 12:45:15 2084 (0x0824)

And there is no log in logs\software (the folder does not even exist)

So, what is -1 and what does it stand for?

New Post: Reg file import

$
0
0
What is the best way to import a registry file using the app deployment toolkit? I need to run a post-install process that imports a registry file.

Thanks,

Jeff

New Post: How to encrypt code in app deployment toolkit

$
0
0
Hi,
Is someone know how to encrypt code in app deployment toolkit script?

New Post: Java install on Windows 7 64 bit detection

$
0
0
Thanks for the suggestion. The ability to detect if it is a 64-bit/32-bit application has been added to the latest 3.5 beta under the Sources tab.

New Post: Managing the default user

$
0
0
Hi,

I made a lot of package in the past and I have a few questions.
  1. Is it a way with your script to change the default user parameters?
  2. If I need to change every users value in the registry, is it a way to load each hive and unload it?
  3. Is it a way to check if a user is logon then if noone is logon proceed. If someone is logon then ask to close applications and ask before reboot. I remember my problem was when asking to shutdown and when "not asking" and just proceed.
  4. I saw nothing about permission change (files, registry).
  5. We are using package instead of applications. Would it be any problems to use the APT for packages?
Viewing all 1769 articles
Browse latest View live


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