473,698 Members | 2,574 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
Nov 21 '05 #1
4 1629
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.

--------------------
From: "SStory" <Th*******@TAKE OUTTHISSPAMBUST ERsofthome.net>
Subject: Media files in app setup

I have an app that includes media files (graphics) and those included in themsi 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 ---Iassume trying to correct the problem.

What should I do in my setup to prevent this?

Thanks,

Shane


Nov 21 '05 #2
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]" <td******@onlin e.microsoft.com > wrote in message
news:rx******** ******@cpmsftng xa10.phx.gbl...
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.
--------------------
From: "SStory" <Th*******@TAKE OUTTHISSPAMBUST ERsofthome.net>
Subject: 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 oneof 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

Nov 21 '05 #3
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.

--------------------
From: "SStory" <Th*******@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]" <td******@onlin e.microsoft.com > wrote in message
news:rx******* *******@cpmsftn gxa10.phx.gbl.. .
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.

--------------------
>From: "SStory" <Th*******@TAKE OUTTHISSPAMBUST ERsofthome.net>
>Subject: 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 deleteone >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
>
>
>



Nov 21 '05 #4
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]" <td******@onlin e.microsoft.com > wrote in message
news:EZ******** ******@cpmsftng xa10.phx.gbl...
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.
--------------------
From: "SStory" <Th*******@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]" <td******@onlin e.microsoft.com > wrote in message
news:rx******* *******@cpmsftn gxa10.phx.gbl.. .
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.

--------------------
>From: "SStory" <Th*******@TAKE OUTTHISSPAMBUST ERsofthome.net>
>Subject: 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
>
>
>


---
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
Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1520
by: John Hunter | last post by:
hashtar is a utility designed for encrypted archiving to media vulnerable to corruption (eg, CDR, DVDR). http://nitace.bsd.uchicago.edu:8080/hashtar Comments, bug reports, suggestions for improvement all welcome. John Hunter OVERVIEW
5
1771
by: Will | last post by:
Is there multi-media support in Python? So I can... 1 - play video in all the standard formats... windows & Mac? 2 - play flash files 3 - Power Point 4 - Standard graphic formats 5 - Sound in all the standard formats 6 - etc Please note requirements: And, on video's, flash files, Power Point, Graphic
3
2018
by: David J Patrick | last post by:
Hello all ! I'm struggling to craft a screenplay system that will allow an author to write a screenplay using an extremely lightweight markup, in a text editor. I'm developing a script to transform that markup to html, with css, that will conform to established "Hollywood" formatting conventions. So far, the screen output is looking OK, but I'm a bit stumped when it comes to page break logic. the css for Printout is even more problematic....
11
1919
by: Wolfgang Meier | last post by:
Hi, I really hope I'm not hitting a frequently asked question here, because I think almost every author must have made that decision. Anyway, here goes: Would it be better to write one global stylesheet, then write specializations for media that need special treatment: <link ... media="all">
1
7892
by: Stephen Adam | last post by:
Hi there, Have spent a while trying to find out how to connect to Windows Media Player through COM. Unfortunately there doesnt seem to be much stuff about it on the web. What I need to do is create a simple console application which will be able to find out what the values of a currently playing tack. I've downloaded the Windows Media player SDK which come with some IDL and
5
3247
by: Manuel Alves | last post by:
Hi, Is it possible to store media files (like windows .wmv) on SQL Server 2005 and stream it back to the client via media server (not just download it)? Regards, Manuel Alves
2
1842
by: Sandman | last post by:
Ok, so I'm the author of a pretty big CMS system (big as in huge, not market-share big) and I've been thinking about a problem for a few weeks here on media management. The CMS accomodates both images/media uploaded by admins, but also by members (in forum and blogs and such). Nothing strange about that at all. But now I'm faced with the need of moving - physically - all my media to a separate server, for distributed loads. I.e. when...
3
4546
by: sean.j.gage | last post by:
I'm attempting to download a windows media video file from a remote server and I would like to start playing it as soon as it starts downloading. Is there some special way to save the file that will allow Windows Media Player to play the file as I transfer it? Cheers!
3
1722
by: Robert Dunlop | last post by:
I am using Microsoft Visual Studio 2005 for development of an ASP.NET site, and I have a problem that greatly effects my workflow at times. It seems that after I upload new files anywhere within the directory structure of the site that is visible to VS, the next time I perform a build VS takes extra time, apparently downloading the new files (though the time required seems much longer than a one-time download should take). During this...
0
8683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8610
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8873
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7740
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6528
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5862
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4623
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2339
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.