none
Problems with unattended installation RRS feed

  • Question

  • Hi,

    I want to make an AutoIt script for unattended installation of SyncToy for non-admin users. I have extracted the three MSI-files (see http://forums.microsoft.com/sync/ShowPost.aspx?PostID=3778481&SiteID=75) and install them in the right order. The installation of the Microsoft synchronization framework and service runs OK but I'm having problems with
    SyncToySetup.msi on Vista machines.
    It appears that administrative rights are necessary to install this, despite what is mentioned in the installation notes ("
    If the Microsoft Sync Framework components are already installed on the target machine, SyncToy can be installed from a non-administrator user account"). Probably due to the fact that the installer wants to install default for every user? Not a big problem, I use the RunAs command in AutoIt. Except that the installation starts but never succesfully finish. I try to do the following msiexec /i SyncToySetup.msi /passive or msiexec /i SyncToySetup.msi /quiet, and both fail. Without /passive or /quiet it works. But then it is not an unattended install anymore.
    Anyone could point me to what I am doing wrong?

    On a related note, is there a way to get rid of that annoying "Microsoft SyncToy Customer Feedback Options" window which pops-up when Synctoy is first used? It makes scripting very difficult.

    All the best,

    Koen

    Friday, October 17, 2008 11:27 AM

All replies

  • Hi, Koen

     

    you can install SyncToySetup.msi to a folder other than "\Program Files\". it will work fine.

    I have no idea about "Microsoft SyncToy Customer Feedback Options"

     

    Seems you want to do something automation for Syncing files.

    If you want to work out a specific application to sync files for your own, the following links maybe interesting:

     

    Microsoft Sync Framework:

    http://msdn.microsoft.com/en-us/library/bb902854.aspx

    Sync Services for File Systems:

    http://msdn.microsoft.com/en-us/library/bb902860.aspx

     

     

     

    Thanks,

    Baoke

    Monday, October 20, 2008 6:53 AM
  • Hi Baoke,

    Thanks for the reply.

    I doubt if the problem is related to "Program Files", because the install works when I choose a normal setup as opposed to a quite or passive install. I wouldn't know what options
    can be passed to SyncToySetup.msi, is there any documentation available, apart from what I have already found?

    All the best,

    Koen
    Tuesday, October 21, 2008 11:41 AM
  • There is a registry key that needs to be added.

    Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USER\Software\Microsoft\SyncToy]
    "InstallLocation"="C:\\Program Files\\SyncToy 2.0\\"
    "FirstTimeUser"=dword:00000001
    "CustomerFeedback"=dword:00000000
    "UpgradedToV20RTM"=dword:00000001
    "LastFolderPair"=""
    Wednesday, December 3, 2008 5:22 PM