Solved

SCCM: Rerun if failed previous attempt

Posted on 2008-10-15
6
7,887 Views
Last Modified: 2013-11-21
Hello,

I would like to deploy a software package to sales guys. So basically what I did is I created a .vbs file which will launch the installation. The script will ask the user if he would like to install the app, message box with yes or no. If no I sent a exit code -1 (failed) to SCCM.

My question is how many attempts SCCM will try to install the apps? In my advertisement, the option "Rerun if failed previous attempt" is set but there is nothing in the help that says how many attempts. Is this unlimited? Also what is delay between the user click "no" and SCCM tried to ReRun?

Thanks
S.
0
Comment
Question by:slimard
  • 3
  • 3
6 Comments
 
LVL 8

Expert Comment

by:U_Mansson
ID: 22724373
You have to re-schedule the advertisement to make the "Rerun if failed previous attempt" option to take place. This option is only valid for mandatory assignments.

"Run as soon as possible" is not a valid schedule if you used that one. You have to use a date/time for this one and then update the schedule for the failed attempts to rerun.
0
 

Author Comment

by:slimard
ID: 22725208
Does this means that if advertisement failed that I need to reschedule the advertisement so that the failed on previous attempt will rerun again. I thought that SCCM will try to rerun until it gets a success.

Just to draw the picture: we have a sales application installed on sales laptop, from time to time we deliver an updated application through SCCM. We don't want the application to be "forced" deployed because sometimes the sales guys are at a customer connected to company vpn through 3G network. In this case if the application started to be installed, our sales cannot use the application to sell our products.

So I was thinking to write a vbscript which will display a message box with yes or no to install the application --> see my first email.
0
 
LVL 8

Accepted Solution

by:
U_Mansson earned 125 total points
ID: 22728311
Yes, you will need to reschedule the advertisement. I agree with you that this is a bit confusing.

One option for you is to define the VPN as a slow network and change the way the advertisement behave on slow networks.
If you have a IP-range or IP Subnet the VPN clients are using, define that as a New Site Boundary and set it as "slow or unreliable" network connection.

Then set the advertisement to "Do not run program" on "Slow or unreliable network boundary"

You could also consider maintenance windows on you sales laptops. This will stop installation of software distribution during the times you select.

If you do regular updates to the package change the setting to Always Rerun and update the schedule every time you make an update. This way all sales laptops will reinstall with the new version.

I hope I got the picture right on how you want it to behave.
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

Author Comment

by:slimard
ID: 22735074
Thank you! It is indeed a bit confusing...

I noted your suggestions and I will use them. However If  set the advertisement to not be mandatory: so letting the users when to install it, will the advertisement notify the user that there is a new package to be installed. Then it is possible to catch up what do they have chosen (run it or postpone it): SQL query? The goal is if they decided to postpone it three time, we would like to prevent them to use the current application until they run the packages?

Thank you
S
0
 
LVL 8

Expert Comment

by:U_Mansson
ID: 22737949
If its not mandatory they will get a balloon telling them that there is a new program available for them to install. There will be no postpone on that assignment, so that idea you have is not possible I'm afraid.
0
 

Author Comment

by:slimard
ID: 22739337
Ok thanks for the clarification
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Some time ago I faced the need to use a uniform folder structure that spanned across numerous sites of an enterprise to be used as a common repository for the Software packages of the Configuration Manager 2007 infrastructure. Because the procedu…
Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now