473,382 Members | 1,437 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

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 1614
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*******@TAKEOUTTHISSPAMBUSTERsofthome.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******@online.microsoft.com> wrote in message
news:rx**************@cpmsftngxa10.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*******@TAKEOUTTHISSPAMBUSTERsofthome.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*******@TAKEOUTTHISSPAMBUSTERsofthome.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******@online.microsoft.com> wrote in message
news:rx**************@cpmsftngxa10.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*******@TAKEOUTTHISSPAMBUSTERsofthome.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******@online.microsoft.com> wrote in message
news:EZ**************@cpmsftngxa10.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*******@TAKEOUTTHISSPAMBUSTERsofthome.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******@online.microsoft.com> wrote in message
news:rx**************@cpmsftngxa10.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*******@TAKEOUTTHISSPAMBUSTERsofthome.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
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...
5
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...
3
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...
11
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...
1
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...
5
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
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...
3
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...
3
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.