Indigo Rose Software
  #1  
Old 07-24-2007
tdexter tdexter is offline
Forum Member
 
Join Date: May 2007
Posts: 40
External Files

My present installer will get files from 2 differant sources, from within the .EXE and or from the CD. Can we do the same? I have a folder on the CD that contains "How to Videos". If the customer is installing from the CD then they have the option to install the Videos. If the customer downloads the install from the Website then they do not have the video option. This helps to control the download size for customers and the testers do not need the extra bulk from the videos.

I tried using a Variable MyVar = [SourceDir]ProductName/Videos then making a Property [BLUE] = MyVar, and then placed [BLUE] in the files "Location Folder".
Also tried using the same Variable MyVar and then a Custom Action to Set a Property.

Neither situation would build.
Reply With Quote
  #2  
Old 07-24-2007
Lorne's Avatar
Lorne Lorne is offline
Indigo Rose Staff Member
 
Join Date: Feb 2001
Location: Indigo Rose Software
Posts: 2,588
Add a raw media source (Project > Media) and then select that as the media source in the file properties.
__________________
--[[ Indigo Rose Software Developer ]]
Reply With Quote
  #3  
Old 08-01-2007
tdexter tdexter is offline
Forum Member
 
Join Date: May 2007
Posts: 40
I tried your suggestion and got an error message when clicking OK.

"You cannot mix compressed (cabinet) and uncompressed (raw) media elements in one project. Make all of them the same type."
Reply With Quote
  #4  
Old 08-01-2007
Brett's Avatar
Brett Brett is offline
Indigo Rose Staff Member
 
Join Date: Jan 2000
Posts: 2,001
Yeah, I think that in this case you will need to make two installers. Some ideas are:

1 - Make one installer for the downloadable versions, and 1 for the CD version

2 - Make one installer for the core product and another for the CD content

If you do # 2 you could just have your CD menu run one installer and then the other.
Reply With Quote
  #5  
Old 08-10-2007
tdexter tdexter is offline
Forum Member
 
Join Date: May 2007
Posts: 40
I figured out a way to accomplish my needs with one install. It took awhile to figure out so I thought I would pass it along. I am not much of an author so I apoligize up front. I am sure this will work for other situations also.

1.Add a folder to hold the Videos- remember the ID for later

2.In Project\Settings set up a Property - Property ID=VIDEO Value=1

3.To install the Videos I use a CheckBox. Brett added how to set up a CheckBox in the help files and its perfect.

4.Set up a Custom Action - Set Property
Settings
a. Property= VIDEOFOLDER- name this whatever you want
b. Value= [SourceDir]Videos\HowToVideos- this is the path on the CD
Attributes
a. ID= VIDEOCA- name this whatever you want
b. Scheduling= Immediate- Once per process
c. Return= Check
d. Timing= Sequence- InstallUISequence
Condition- VIDEO = "1" AND NOT Installed
Execute= Before- ExecuteAction

5. File Operations
Copy Files
External file
Property= VIDEOFOLDER
Filename= the name of your file
Destination= the FolderID you set up earlier
Remove Files
Browse= the FolderID
Filename= the name of the file
Timing= On Uninstall
(The copy and remove files needs to set for each video)

If the videos folder is not found at [SourceDir] then nothing happens with anything above. Again sorry if this is confusing.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
2 CD Install using 'External' files JonK Setup Factory 7.0 Discussion 0 07-18-2007 05:51 AM
Encrypt external Script files??? Jonas DK AutoPlay Media Studio 6.0 11 05-16-2007 05:30 PM
Unable to find software? NigelLacey Visual Patch 2.0 4 10-11-2005 11:35 AM
INFO: Why Files are Renamed in the DATA Folder Support AutoPlay Media Studio 4.0 Examples 0 10-24-2002 04:36 PM
HOWTO: "Hide" Externally Referenced Files Support AutoPlay Media Studio 4.0 Examples 0 10-23-2002 04:19 PM


All times are GMT -6. The time now is 02:36 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software