Media files in app setup

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • SStory

    Media files in app setup

    I have an app that includes media files (graphics) and those included in the
    msi setup.

    They are not 100% necessary and can change. The problem is if I delete one
    of them, then the next time I run my app, it launches windows installer ---I
    assume trying to correct the problem.

    What should I do in my setup to prevent this?

    Thanks,

    Shane


  • Todd Derksen [MSFT]

    #2
    RE: Media files in app setup

    Shane, to get MSI to not repair select the file in the setup project and
    change the file properties Condition = NOT REINSTALL so that the file will
    not get reinstalled on a repair and its Transitive = TRUE so that the
    condition is re-evaluated.

    This will cause the installer to "flash" on the screen after the first time
    they are deleted and the repairer is called (either through an advertised
    shortcut or reg key). It will check that that the file should not be
    reinstalled, not reinstall it and you will not see the reinstaller again.

    Todd Derksen
    --------------------
    Visual Basic Deployment Test Team
    This posting is provided "AS IS" with no warranties, and confers no rights.

    --------------------[color=blue]
    >From: "SStory" <TheStorys@TAKE OUTTHISSPAMBUST ERsofthome.net>
    >Subject: Media files in app setup
    >
    >I have an app that includes media files (graphics) and those included in[/color]
    the[color=blue]
    >msi setup.
    >
    >They are not 100% necessary and can change. The problem is if I delete one
    >of them, then the next time I run my app, it launches windows installer[/color]
    ---I[color=blue]
    >assume trying to correct the problem.
    >
    >What should I do in my setup to prevent this?
    >
    >Thanks,
    >
    >Shane
    >
    >
    >[/color]

    Comment

    • SStory

      #3
      Re: Media files in app setup

      Thanks Todd.

      I am curious. The bottom line is that I have around 400 jpgs/gifs that my
      application uses--media files.

      At present I just make some folders under the app root and add the files
      there.

      This means I would need to go through each of the 400 files one at a time
      and set the flags you are discussing.

      Is there a better way to install them?

      Thanks,

      Shane

      "Todd Derksen [MSFT]" <tderksen@onlin e.microsoft.com > wrote in message
      news:rx4LQmhiEH A.2396@cpmsftng xa10.phx.gbl...[color=blue]
      > Shane, to get MSI to not repair select the file in the setup project and
      > change the file properties Condition = NOT REINSTALL so that the file[/color]
      will[color=blue]
      > not get reinstalled on a repair and its Transitive = TRUE so that the
      > condition is re-evaluated.
      >
      > This will cause the installer to "flash" on the screen after the first[/color]
      time[color=blue]
      > they are deleted and the repairer is called (either through an advertised
      > shortcut or reg key). It will check that that the file should not be
      > reinstalled, not reinstall it and you will not see the reinstaller again.
      >
      > Todd Derksen
      > --------------------
      > Visual Basic Deployment Test Team
      > This posting is provided "AS IS" with no warranties, and confers no[/color]
      rights.[color=blue]
      >
      > --------------------[color=green]
      > >From: "SStory" <TheStorys@TAKE OUTTHISSPAMBUST ERsofthome.net>
      > >Subject: Media files in app setup
      > >
      > >I have an app that includes media files (graphics) and those included in[/color]
      > the[color=green]
      > >msi setup.
      > >
      > >They are not 100% necessary and can change. The problem is if I delete[/color][/color]
      one[color=blue][color=green]
      > >of them, then the next time I run my app, it launches windows installer[/color]
      > ---I[color=green]
      > >assume trying to correct the problem.
      > >
      > >What should I do in my setup to prevent this?
      > >
      > >Thanks,
      > >
      > >Shane
      > >
      > >
      > >[/color]
      >[/color]


      Comment

      • Todd Derksen [MSFT]

        #4
        Re: Media files in app setup

        Shane this might not be the answer you are looking for but it definetly
        will help.
        You can multiselect the files and set their properties, this should save
        you considerable amount of time then going through all 400 files
        individually.

        Todd Derksen
        --------------------
        Visual Basic Deployment Test Team
        This posting is provided "AS IS" with no warranties, and confers no rights.

        --------------------[color=blue]
        >From: "SStory" <TheStorys@TAKE OUTTHISSPAMBUST ERsofthome.net>
        >Thanks Todd.
        >
        >I am curious. The bottom line is that I have around 400 jpgs/gifs that my
        >application uses--media files.
        >
        >At present I just make some folders under the app root and add the files
        >there.
        >
        >This means I would need to go through each of the 400 files one at a time
        >and set the flags you are discussing.
        >
        >Is there a better way to install them?
        >
        >Thanks,
        >
        >Shane
        >
        >"Todd Derksen [MSFT]" <tderksen@onlin e.microsoft.com > wrote in message
        >news:rx4LQmhiE HA.2396@cpmsftn gxa10.phx.gbl.. .[color=green]
        >> Shane, to get MSI to not repair select the file in the setup project and
        >> change the file properties Condition = NOT REINSTALL so that the file[/color]
        >will[color=green]
        >> not get reinstalled on a repair and its Transitive = TRUE so that the
        >> condition is re-evaluated.
        >>
        >> This will cause the installer to "flash" on the screen after the first[/color]
        >time[color=green]
        >> they are deleted and the repairer is called (either through an advertised
        >> shortcut or reg key). It will check that that the file should not be
        >> reinstalled, not reinstall it and you will not see the reinstaller again.
        >>
        >> Todd Derksen
        >> --------------------
        >> Visual Basic Deployment Test Team
        >> This posting is provided "AS IS" with no warranties, and confers no[/color]
        >rights.[color=green]
        >>
        >> --------------------[color=darkred]
        >> >From: "SStory" <TheStorys@TAKE OUTTHISSPAMBUST ERsofthome.net>
        >> >Subject: Media files in app setup
        >> >
        >> >I have an app that includes media files (graphics) and those included in[/color]
        >> the[color=darkred]
        >> >msi setup.
        >> >
        >> >They are not 100% necessary and can change. The problem is if I delete[/color][/color]
        >one[color=green][color=darkred]
        >> >of them, then the next time I run my app, it launches windows installer[/color]
        >> ---I[color=darkred]
        >> >assume trying to correct the problem.
        >> >
        >> >What should I do in my setup to prevent this?
        >> >
        >> >Thanks,
        >> >
        >> >Shane
        >> >
        >> >
        >> >[/color]
        >>[/color]
        >
        >
        >[/color]

        Comment

        • SStory

          #5
          Re: Media files in app setup

          Actually it is good enough.
          I did discover that when recreating my setup.

          For future products, maybe MS should consider a way of not only grouping
          them in the file editor but also in the solution explorer, so that instead
          of showing 500 files, it could show them as a folder with settings that
          could be set for the entire folder for things like media distribution. Just
          a thought.

          Thanks Todd... this is exactly what I discovered and did. Works great!

          Shane
          "Todd Derksen [MSFT]" <tderksen@onlin e.microsoft.com > wrote in message
          news:EZeAO55jEH A.3436@cpmsftng xa10.phx.gbl...[color=blue]
          > Shane this might not be the answer you are looking for but it definetly
          > will help.
          > You can multiselect the files and set their properties, this should save
          > you considerable amount of time then going through all 400 files
          > individually.
          >
          > Todd Derksen
          > --------------------
          > Visual Basic Deployment Test Team
          > This posting is provided "AS IS" with no warranties, and confers no[/color]
          rights.[color=blue]
          >
          > --------------------[color=green]
          > >From: "SStory" <TheStorys@TAKE OUTTHISSPAMBUST ERsofthome.net>
          > >Thanks Todd.
          > >
          > >I am curious. The bottom line is that I have around 400 jpgs/gifs that my
          > >application uses--media files.
          > >
          > >At present I just make some folders under the app root and add the files
          > >there.
          > >
          > >This means I would need to go through each of the 400 files one at a time
          > >and set the flags you are discussing.
          > >
          > >Is there a better way to install them?
          > >
          > >Thanks,
          > >
          > >Shane
          > >
          > >"Todd Derksen [MSFT]" <tderksen@onlin e.microsoft.com > wrote in message
          > >news:rx4LQmhiE HA.2396@cpmsftn gxa10.phx.gbl.. .[color=darkred]
          > >> Shane, to get MSI to not repair select the file in the setup project[/color][/color][/color]
          and[color=blue][color=green][color=darkred]
          > >> change the file properties Condition = NOT REINSTALL so that the file[/color]
          > >will[color=darkred]
          > >> not get reinstalled on a repair and its Transitive = TRUE so that the
          > >> condition is re-evaluated.
          > >>
          > >> This will cause the installer to "flash" on the screen after the first[/color]
          > >time[color=darkred]
          > >> they are deleted and the repairer is called (either through an[/color][/color][/color]
          advertised[color=blue][color=green][color=darkred]
          > >> shortcut or reg key). It will check that that the file should not be
          > >> reinstalled, not reinstall it and you will not see the reinstaller[/color][/color][/color]
          again.[color=blue][color=green][color=darkred]
          > >>
          > >> Todd Derksen
          > >> --------------------
          > >> Visual Basic Deployment Test Team
          > >> This posting is provided "AS IS" with no warranties, and confers no[/color]
          > >rights.[color=darkred]
          > >>
          > >> --------------------
          > >> >From: "SStory" <TheStorys@TAKE OUTTHISSPAMBUST ERsofthome.net>
          > >> >Subject: Media files in app setup
          > >> >
          > >> >I have an app that includes media files (graphics) and those included[/color][/color][/color]
          in[color=blue][color=green][color=darkred]
          > >> the
          > >> >msi setup.
          > >> >
          > >> >They are not 100% necessary and can change. The problem is if I delete[/color]
          > >one[color=darkred]
          > >> >of them, then the next time I run my app, it launches windows[/color][/color][/color]
          installer[color=blue][color=green][color=darkred]
          > >> ---I
          > >> >assume trying to correct the problem.
          > >> >
          > >> >What should I do in my setup to prevent this?
          > >> >
          > >> >Thanks,
          > >> >
          > >> >Shane
          > >> >
          > >> >
          > >> >
          > >>[/color]
          > >
          > >
          > >[/color]
          >[/color]


          ---
          Outgoing mail is certified Virus Free.
          Checked by AVG anti-virus system (http://www.grisoft.com).
          Version: 6.0.745 / Virus Database: 497 - Release Date: 8/27/2004


          Comment

          Working...