Jump to content


Barty

Established Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by Barty

  1. Hello!

     

    As i understand, when "Binary Differential Replication" is checked, then when you make changes in a package and then updates the distribution points, only the changes will be transfered and therefore you wont use so much bandwidth as would have to if you didnt have this option checked.

     

    I just wonder when, in wich scenario would i NOT want this? I cant figure out why its a choise? I can only see advantages :)

     

    PIC: http://img841.imageshack.us/img841/1713/binarydifferentialrepli.jpg

     

    // Barty

  2. Hello!

     

    I want to have an uninstall collection where the query check if computers is NOT a member of a group but DOES have the application installed.

     

    The problem is i cant get it to work with the SMS_G_System_ADD_REMOVE_PROGRAMS_64 table only regular SMS_G_System_ADD_REMOVE_PROGRAMS.

     

    I have a computer that is now a member of the group but does have the program installed.

    This query works:

     

    select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_R_System.SystemGroupName != "DOMAIN\\GROUP" and SMS_G_System_ADD_REMOVE_PROGRAMS.ProdID = "{C0B728CE-BF48-48C2-A19C-01563CCEDD9B}"
    

     

    But if i want to query the 64-bit aswell i does not work.

     

    select SMS_R_System.ResourceId, SMS_R_System.ResourceType, SMS_R_System.Name, SMS_R_System.SMSUniqueIdentifier, SMS_R_System.ResourceDomainORWorkgroup, SMS_R_System.Client from  SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_ADD_REMOVE_PROGRAMS_64 on SMS_G_System_ADD_REMOVE_PROGRAMS_64.ResourceId = SMS_R_System.ResourceId where SMS_R_System.SystemGroupName != "DOMAIN\\GROUP" and (SMS_G_System_ADD_REMOVE_PROGRAMS.ProdID = "{C0B728CE-BF48-48C2-A19C-01563CCEDD9B}" or SMS_G_System_ADD_REMOVE_PROGRAMS_64.ProdID = "{C0B728CE-BF48-48C2-A19C-01563CCEDD9B}")
    

     

    Any Ideas why?

  3. Looked through the logs and what i can see the problem is that when i run it with UNC from CMD with the local administrator account the AppData is:

    C:\Users\Administrator\AppData\Local\***\***

     

    And when i run it through SCCM and advertise the program the AppData folder is:

    C:\WINDOWS\system32\config\systemprofile\AppData\Local\***\***

     

    I dont know if this is the problem but the EXE file that bring the error up is located in this folder.

     

    Any way to change the appdata-folder to see if it is this that messing with me? :)

     

    // Barty

  4. Write a log file for the failing msi package by extending the command line in the script with /L*v c:\windows\temp\packagename.log

    It's hard to tell what's wrong without a log file. Also, did you customize the msi package, and what are the switches for the installation /q /qb /qb- /qb-! /qn ?

    Are the msi files all in the root directory of the package or do you run them from child directories?

     

    I run them with the /qb-! and i have all the MSI files in a childfolder.

     

    One of the command:

     

    objWsh.Run "msiexec.exe /i " + Chr(34) + strSourcePath + "MSI_folder\MSIFILE.msi" + Chr(34) + " /qb-!",1,True
    

     

    The variable strSourcePath contains the sorucepath to the Script. I will run this code and get back to you!

     

    msiexec.exe /i "Path\to\MSI.msi" /qb-! [b]/L*v c:\windows\temp\packagename.log[/b]
    objWsh.Run "msiexec.exe /i " + Chr(34) + strSourcePath + "MSI_folder\MSIFILE.msi" + Chr(34) + " /qb-! [b]/L*v c:\windows\temp\packagename.log[/b]",1,True
    

  5. Hi,

     

    When you have created your package, did you create a program ?

     

    Gregory

     

    Yes, sorry for the bad description :) The program gets advertised and some of the MSI packages gets installed just fine but one of the MSI file complains about a blablabla.exe file. Why does it not do this when i run it in the commandprompt like this \\SCCM-server1\Path\To\install.vbs, but not through the SCCM?

     

    http://img209.imageshack.us/img209/8822/sccm.png

     

    Se pic on how i try to install. I've tried Cscript.exe "Install.vbs" and Wscript.exe "Install.vbs" and only Install.vbs all with the same error. But install it like this works just fine: \\SCCM-server1\Path\To\install.vbs.?In what way does the SCCM installation differ from my manuall installation through UNC path =?

     

     

     

    // Barty

  6. Hello!

     

    I have a vbs script that runs a couple of MSI-files. When i run it in the command-prompt it works great! For Example: \\SCCM-server1\Path\To\install.vbs.

    When i try to distribute it from the SCCM i get an error message that it misses some EXE files so it cant go on.

     

    I thought that it was with the UNC-path the sccm installed packages? Shouldnt it be the exact same thing as I'm doing?

     

    Any Ideas?

     

    // Barty

  7. Hi!

     

    I have a collection grabing all the computers that are a member of group2, and that works great. I also have this group1 that are a member of group2 with a lot of computers in it but that does not work.

     

    Is it possible to also grab the computers in Group1 aswell?

     

    SQL Query:

     

    select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.SystemGroupName = "DOMAIN\\Group2"

     

    Thx for the help!

     

    EDIT: Added a picture to show you what i mean.

     

    http://imageshack.us/photo/my-images/16/sccmcollection.jpg/

  8. HI,

     

    It depends on the OS what the uninstall command are, there are no buitlin feature in SCCM to uninstall software updates.

    You will have to pull the uninstall information from one of the computer under the uninstall registry key for the application and put that in a SCCM package/program an deploy it.

    Regards,

    Jörgen

     

     

    Okey!

     

    Where are those keys for updates?

     

    I found the uninstall keys for all the programs in :

     

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

     

    But there are no updates there?

     

    // Barty

×
×
  • Create New...