Results 1 to 4 of 4
  1. #1
    tomtomtom is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2012
    Posts
    2

    Automated Deployment of Access .accde, only if newer

    Hi!

    I am having troubles when trying to deploy updates of an .accde file to clients via GPO:

    1. Everytime a user launches the .accde file, the modified date will be updated. This makes it impossible to use a command like xcopy with the /D parameter.
    2. When I try to query the creation date of the file and deploy a new version only if the creation date of the source file is newer, the file will be deployed everytime because the creation date of the destination file will not change, also not if the file has been overwritten.
    3. Then I gave the Package Solution Wizard a try, but also here I would have to query a custom flag that tells me which version is installed and which version would be deployed.

    Is there a simple way to deploy a new .accde file only if it is "really newer", and not only modified? Or any chance to prevent the file to be modified if a user launches it (I actually would assume that from an .accde - executable file...)
    How are you managing the automated deployment of updates of Access files?



    Thanks in advance!

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    This is my method http://forums.aspfree.com/microsoft-...ue-323364.html

    However, I don't deploy accde, just accdb.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    tomtomtom is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2012
    Posts
    2
    Hey June7, thanks for the answer.
    So it looks like I cannot pass a custom flag.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Not sure what you mean by 'pass a custom flag'.

    Your option 3 seems much like what I do. User opens their install of project, code queries a table for version number, if it is different from version on form label, file is copied and replaces user's current version.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Can this be automated on access
    By montypython in forum Database Design
    Replies: 1
    Last Post: 05-23-2012, 10:22 AM
  2. Package Deployment Wizard
    By KristenD in forum Access
    Replies: 2
    Last Post: 05-23-2012, 09:41 AM
  3. Access 2007 DB Intranet Deployment
    By Treble_Mebbel in forum Access
    Replies: 2
    Last Post: 10-12-2011, 12:52 PM
  4. Automated email from access
    By jfuller in forum Access
    Replies: 3
    Last Post: 04-11-2011, 02:56 PM
  5. Access Deployment
    By nidaz17 in forum Access
    Replies: 10
    Last Post: 04-25-2010, 02:50 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums