By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,064 Members | 1,524 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,064 IT Pros & Developers. It's quick & easy.

Media files in app setup

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.