Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 424915
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T19:19:38+00:00 2026-05-12T19:19:38+00:00

Applications I install with a VS 2k8 Installer Project MSI file check to make

  • 0

Applications I install with a VS 2k8 Installer Project MSI file check to make sure that no installed files have been deleted before the app launches and run the installer to fix this if they do. How can I turn this off so? eg so that I can include sample files with my app.

EDIT: to clarify the behavior happens when starting the app via an installed shortcut, not when running it from the HD directly.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T19:19:39+00:00Added an answer on May 12, 2026 at 7:19 pm

    You’re launching the application from an “Advertised Shortcut” which will trigger the repair functionality.

    Solution 1 – install sample files as read-only and then copy them to a per-user location when they’re being used (so that Windows Installer doesn’t even know about the user copies)

    Solution 2 – Set the DISABLEADVTSHORTCUTS property to create “standard” rather than “advertised” shortcuts during installation.

    You really should redesign your application so that installed files are never modified, but if you’re after a quick and dirty fix solution 2 above should do the trick.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it acceptable to have commercial applications that doesn't install themselves to regular program
As far as I understand, applications made with Adobe AIR have been blocked from
I have an Android app that uses a WebView to enable users to install
I need to make some Python applications for a work project. The target platform
I have a simple bash script running on OS X that removes specific files
I install an app .app file to /Applications folder. Can you please tell me
I want to create the application that lists all install applications in my device.
I'm running 2 separate sites/Applications under a single install of ColdFusion. The execution time
I'm using this method to install an application, but it doesn't put the applications
I have a C++/CLI based install application which needs to close another app I've

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.