Use of AUTOMATIC SCENE DETECTION on already existing huge file

Hello to all for the first time,
I have 6 HUGE already imported video files of my videos diary from Himalaya, so they are each 1 hour long files now and to edit the story I need to brake each of those HUGE imported files into individual clips!!!
Of course I can make new smaller clips manualy but my TIME SAVING question here is how can I make iMovieHD AUTOMATIC SCENE DETECTION work on already imported huge file? So that I just play the HUGE file and it automatically brakes the individual clips and makes different files/clips.
Got it?
Hope somebody into the know will read this.
Thank you
Vladan
G 4 titanium   Mac OS X (10.4.9)   love it

Thank you Sue,
Thank you for wellcome, great you want to help.
So I imported all my video (from Hi8 - remember) trough firewire in using iMovieHD ... and that is how I got here where I have those huge documents, each 20 Gigs, on my external drive.
so thats where I am at and I would like to RETROACTIVLY (I quess) use that automatic scene detection and out of one huge file (clip) get say 15 smaller clips.
Is that clearer
thanks again
Vladan
G 4 titanium   Mac OS X (10.4.9)   love it

Similar Messages

  • Automatic Scene detection

    Hi,
    I just purchased a Powerbook and I am a new Apple user (converted from PC). I used to use a Pinnacle program but now I am very excited to try the iMovieHD which comes with the laptop.
    Unfortunately, when I tried to create my first movie, I have a problem already with importing my images. My images won't split into clips. The program only shows everything as 1 long clip. I checked my preferences to make sure that the automatic scene detection feature is on. I didn't set the time and date of my camcorder.
    My question is: (1) Is setting the date and time of my camcorder really criticial when you import the images? (2) eventhough the date and time is not set, i have several scenes which were shots at different time, but iMovie still didn't pick it up as a new clip, eventhough there was a good 5 seconds of nothing in the tape. How can that be? (3) if setting date and time the only way to do an automatic scene detection, what will be my next option to create several clips. Is there a way to do it manually (please...I hope this is not the answer).
    Any tips are greatly appreciated. I already convinced my husband to convert from PC to MAC, hoping that for media stuff MAC is better and friendlier than PC. Please, show me that this is true.
    Thanks in advance,
    Amanda

    Amanda
    Here is a link to an Apple Article about automatic scene detection:
    http://docs.info.apple.com/article.html?artnum=61412
    My clock was not set, but as soon as I turn the "internal clock" on, it shows the correct time and date right away.
    I'm a bit confused now! If the clock is showing the correct date and time then it must be set and shouldn't be causing a problem with scene detection. With my camera (see details below), when I switch to record (standby) mode and select the menu item Clock Set, it shows the date and time, but there is no switch to turn the clock off or on.
    It might be worth doing a short test recording with, say, 3 or 4 short scenes with a break of about 10 seconds or so between each scene. Import that to iMovie and see if the scenes are automatically detected (make sure the preference is checked first). If not, it might be worth deleting (trashing) iMovie's preference file - it's in your User (Home) folder under Library/Preferences and named com.apple.iMovie.plist. A new default preference file will be created by iMovie next time it is opened - you may then need to change some settings to your own preference, as required. Note that preference files in OS X can sometimes become corrupted - trashing them can often fix minor issues.
    John

  • Automatic scene detection: Pros and cons

    I am new to Premiere Pro. I have used Pinnacle Studio, where scene detection involves the storing of the scene information in a separate file from the captured video, which is stored in a single AVI file. I run Premiere on Windows, so as I understand it, the options I have are to capture my video to a single file, or to use scene detection, which creates one file per detected scene.
    On the one hand, having a single file per DV tape is convenient. On the other hand, such a file is rather large.
    On the one hand, using the scene detection feature will result in a large number of files. On the other hand, any files for scenes that will never be used can be deleted, saving disk space.
    What I'm looking for is how others prefer to capture video -- either in one file or in multiple scene files -- and why you prefer to do it that way.

    Scene detect.
    I discovered the hard way long ago that each of my camera ops needs to set date/time on their camcorder or else it doesn't work (why they never set it, who knows...).
    Add to that, if the little battery dies in the camcorder, it'll toss out the date and all saved functions - including white balance - each time the camera is turned off. Little things you learn....but anyway....
    Yeah, scene detect, for all the previously mentioned reasons. I do multiple attempts at some shots, even in event work. By having individual files, I can toss the unused clips once I'm done selecting my shots (or at least set them as offline).

  • Why won't Firefox use the perfectly good Favourites folder already existing inWindows for the Bookmarks?

    I am trying to compare different browsers to find a favourite. However I find it an unbearable nuisance that when I save a bookmark in Firefox I can't use it in IE9 or Chrome or any other browser.
    This is a universal problem with browsers, they all make their own folders for bookmarks. Is there a good technical reason for this or is it only done to irritate the users.
    There is a perfectly good Favourites folder installed by Windows. Why not use that one instead of clogging up the system with unnecessary extra folders.

    1. There are a few services that will synchronize Firefox and IE bookmarks, along with some other browsers. <br />
    Xmarks and CometMarks are two that I am aware of.
    2. The PlainOld Favorites extension allows you to have Firefox use IE's bookmarks. <br />
    https://addons.mozilla.org/en-US/firefox/addon/plainoldfavorites/

  • Installer has detected an already existing oracle XE Instance on this Syste

    I am trying to install XE in my lap top , but i am getting this error..
    i have uninstalled earlier version and clean the registry and services, still i am getting the same error..
    Kvl prasad

    its called them 'rm' command :-)
    its a bit easier with Linux as you can just remove all the directories, but having the files there shouldnt stop then re-installation as long as the rpm database is clean

  • Is it possible to update inside of an already existing .xml file?

    I have a problem where I had to write an implementation of stack and make it read files and find errors inside the files. The only problem I am having is being able to then go into the file and fix the problem. Any chance anyone could help me out?
    Thanks

    allieyooo wrote:
    That would be great if my professor did not care about performance but that is half of our grade.So write something; test it for correctness; and then performance test it (and document the results)... If it's not upto scratch then think about "How can I speed this up".
    Performance still isn't a primary design motivation.
    I'll bet that "half the marks" are primarily aimed at adequately metricating (and documenting) performance (which can be very tricky)... and secondarily; introducing you profiling your application and redesigning & tweaking to achieve the required performance.
    What performance requirements have you got? And how big (in bytes) is the data-file? Any statement of acceptable test-beds?. Any stated limitations on the design you can use to achieve it? Resource limitations? You know; that sort of stuff.
    Can you post a more complete description of the assignment... or better a URL I can download the assignment package from. It sounds like an interesting exercise.
    Cheers. Keith.
    Edited by: corlettk on 23/04/2009 15:23 ~~ Ooops!

  • Scene Detect on Existing Clips

    I have about a dozen 20-30 minute films I have captured to video tape and have loaded into my system. Because of some of the content of the tape, and historical/geneological images, I would like to break the films down to individual scenes and then attach metadata and other info to the scenes for later tracking or sorting. (Through Bridge)
    With the films captured, though, it is a bit problematic. Making sub clips, or "converting to master clip" doesn't work (which was expected) but is there any way to use scene detection with the existing AVI file, to break the films down to individual clips? Or, is my best bet to re-capture the films with scene detection set to on and use those individual clips?
    Thanks,
    Bill
    Using Win Vista, with CS3 collection...

    Yep, that's what I thought. I was thinking of scenealyzer as well...
    Thanks,
    Bill

  • Disabling Automatic Scene/Clip Detection in iMovie 8.0.5 (iLife '09)

    I can't seem to find a solid answer to this anywhere.
    As far as I can tell, iMovie has taken away the ability to disable Automatic Scene Detection.
    See, I have several old videos that I've ALREADY edited and printed back to tape. Now I'm trying to re-import these old movies so that I can share them online.
    However, when I import from my camera, iMovie is splitting up my edited movies into its own separate clips which are ordered by date.
    It's quite annoying! As far as I can tell I would have to reorganize all of these clips and essentially re-edit them. I decided to just bite the bullet and reorganize my clips, however when doing this, the music in my original movies isn't exactly consistent when jumping between clips.
    That said, is there any way to import video without iMovie automatically splitting up my clips???
    Thanks!
    Message was edited by: broox
    Message was edited by: broox

    Yes you would need QT Pro c/w QT7, however for much the same price you can upgrade to Snow Leopard which comes with QTX, which allows video, audio and screen recording without additional plug-ins.

  • A file with that name you specified already exists.

    I'm using Deamweaver 8.0.1 on a Mac. My server is right next
    to me and is also a Mac. Both Mac's are on OSX10.4.6
    I connect to the server vis AppleTalk local network.
    I guess I'm having a premission problem but whenever I try
    and synchrnize I get an error like this:
    Started: 6/14/06 8:39 AM
    admin.php - error occurred - An error occurred - cannot put
    admin.php. A file with that name you specified already exists.
    File activity incomplete. 1 file(s) or folder(s) were not
    completed.
    Files with errors: 1
    admin.php
    Finished: 6/14/06 8:39 AM
    I can manually copy files without error or insedent...
    I have tried coping the entire site to the server, mannually,
    again. I have deleted the site reference in Dreamweaver, quit and
    then re-launch Dreamweaver and create a new site.

    Update
    I changed over to FTP connection with the host, just incase there was some weird wrong with my server. And FTP works fine from the command line, but Dreamweaver is seems goofed.
    I "tested" the connection from the manage sites menu, its ok. The trouble remains when i upload files. Now, Dreamweaver says "error occured - An FTP error occured -- cannot put [file name] Access Denied. The file mau not exist or there could be a permission problem."
    I have full access to the vsftp.conf file and I've allowed,
    write_enable
    local_mask
    Any thoughs? Its entirely possible there is a simple explanation. I had this working before. Its just not working now.
    Xtian

  • Scene Detection plug-in options for Pr? Speed Grade just stops detecting

    Hello all: We use Pr to cut and recut 30min to 3hr programs. I would really like to use a scene detect plug-in to help speed things up by cutting up the Line cut clip, so I can cut in multi cam ISOS.
    I've tried to use Speed Grade and it just stops for no apparent reason after  ~15 mins into either clip I've tried.
    Plus, a lot of our deliverable clips are exported as MXF which won't work in Speed Grade.
    Any suggestions for a plug-in for scene detection?
    Thanks,
    Tolbert

    If you're in CC, what codec the clips are doesn't matter in a Direct Link workflow to SpeedGrade ... you should be able to use anything PrPro handles (though this is not always perfect, just mostly). Other than exporting say an EDL from PrPro to use Sg's scene detection capability? Hmmm. At that point, yea, MXF wouldn't work. Unless you proxied into Sg & re-conformed back in PrPro to "online" files. Boy, that's an old workflow these days!
    I can certainly see why you'd want scene-detection automated if possible. That would take some time, scrubbing then working down to exact frames if there's a bunch of scenes per show. Maybe shooternz can pop in here ...
    Neil

  • How to change the excel file name which already exists

    Hi,
        I want to rename the already existing excel file, is there any way to do it in Lab View. Please help me in this regards.
    Regards
    Shiva Kumar Singh

    Use the "move" tool with the current path and new path as inputs. It's in the File I/O...advanced palette.
    LabVIEW Champion . Do more with less code and in less time .

  • TNS-04406: Object already exists

    New install on Redhat linux.
    When running netca trying to configure the LISTENER get following error
    ServiceAliasException: Could not save Service Alias: TNS-04406: Object already exists
    Listener file is created but I can not start listener
    TNS-01150: The address of the specified listener name is incorrect
    TNS-01153: Failed to process string: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxx.xxx.com)(PORT=1521)))
    I have edited the address for this post
    Any sugestions would help

    new listener file with new install. I have attempted to recreate it with netca. I can not create a database since I dont have a listener running.
    # listener.ora Network Configuration File: /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxx.xxxx.com)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    Log file
    TNSLSNR for Linux: Version 10.2.0.1.0 - Production on 30-MAR-2006 12:47:39
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
    Trace information written to /u01/app/oracle/product/10.2.0/db_1/network/trace/listener.trc
    Trace level is currently 0
    Started with pid=4423
    TNS-01150: The address of the specified listener name is incorrect
    TNS-01153: Failed to process string: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxx.xxxx.com)(PORT=1521)))

  • How to send existing excel file through mail

    Hello Friends,
    I have to send mail with Excel File attachement. i have already exist Excel file and that file i hv to send through mail. so pl help me out for sending existing excel file .
    i.e. user pickup the exist excel file and that file would be sent to particular mail id.
    thank you,
    Marmik

    Hi marmik,
    1. There is some trick involved
    in the binary files.
    2. I have made a program (and it works fantastic)
    ONLY 6 LINES FOR EMAILING
    BELIEVE ME
    ITS A FANTASTIC PROGRAM.
    IT WILL WORK LIKE OUTLOOK EXPRESS !
    3. The user is provided with
    a) file name
    b) email address to send mail
    and it sends ANY FILE (.xls,.pdf .xyz..)
    Instantaneously !
    4. Make two things first :
    1. Include with the name : ZAMI_INCLFOR_MAIL
    2. Report with the name : ZAM_TEMP147 (any name will do)
    3. Activate both and execute (2)
    4. After providing filename, email adress
    5. Code for Include :
    10.08.2005 Amit M - Created
    Include For Mail (First Req F16)
    Modification Log
    Data
    DATA: docdata LIKE sodocchgi1,
    objpack LIKE sopcklsti1 OCCURS 1 WITH HEADER LINE,
    objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE,
    objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE,
    objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE,
    objhex LIKE solix OCCURS 10 WITH HEADER LINE,
    reclist LIKE somlreci1 OCCURS 1 WITH HEADER LINE.
    DATA: tab_lines TYPE i,
    doc_size TYPE i,
    att_type LIKE soodk-objtp.
    DATA: listobject LIKE abaplist OCCURS 1 WITH HEADER LINE.
    FORM
    FORM ml_customize USING objname objdesc.
    Clear Variables
    CLEAR docdata.
    REFRESH objpack.
    CLEAR objpack.
    REFRESH objhead.
    REFRESH objtxt.
    CLEAR objtxt.
    REFRESH objbin.
    CLEAR objbin.
    REFRESH objhex.
    CLEAR objhex.
    REFRESH reclist.
    CLEAR reclist.
    REFRESH listobject.
    CLEAR listobject.
    CLEAR tab_lines.
    CLEAR doc_size.
    CLEAR att_type.
    Set Variables
    docdata-obj_name = objname.
    docdata-obj_descr = objdesc.
    ENDFORM. "ml_customize
    FORM
    FORM ml_addrecp USING preceiver prec_type.
    CLEAR reclist.
    reclist-receiver = preceiver.
    reclist-rec_type = prec_type.
    APPEND reclist.
    ENDFORM. "ml_customize
    FORM
    FORM ml_addtxt USING ptxt.
    CLEAR objtxt.
    objtxt = ptxt.
    APPEND objtxt.
    ENDFORM. "ml_customize
    FORM
    FORM ml_prepare USING bypassmemory whatatt_type whatname.
    IF bypassmemory = ''.
    Fetch List From Memory
    CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
    listobject = listobject
    EXCEPTIONS
    OTHERS = 1.
    IF sy-subrc <> 0.
    MESSAGE ID '61' TYPE 'E' NUMBER '731'
    WITH 'LIST_FROM_MEMORY'.
    ENDIF.
    CALL FUNCTION 'TABLE_COMPRESS'
    IMPORTING
    COMPRESSED_SIZE =
    TABLES
    in = listobject
    out = objbin
    EXCEPTIONS
    OTHERS = 1
    IF sy-subrc <> 0.
    MESSAGE ID '61' TYPE 'E' NUMBER '731'
    WITH 'TABLE_COMPRESS'.
    ENDIF.
    ENDIF.
    Header Data
    Already Done Thru FM
    Main Text
    Already Done Thru FM
    Packing Info For Text Data
    DESCRIBE TABLE objtxt LINES tab_lines.
    READ TABLE objtxt INDEX tab_lines.
    docdata-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
    CLEAR objpack-transf_bin.
    objpack-head_start = 1.
    objpack-head_num = 0.
    objpack-body_start = 1.
    objpack-body_num = tab_lines.
    objpack-doc_type = 'TXT'.
    APPEND objpack.
    Packing Info Attachment
    att_type = whatatt_type..
    DESCRIBE TABLE objbin LINES tab_lines.
    READ TABLE objbin INDEX tab_lines.
    objpack-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objbin ).
    objpack-transf_bin = 'X'.
    objpack-head_start = 1.
    objpack-head_num = 0.
    objpack-body_start = 1.
    objpack-body_num = tab_lines.
    objpack-doc_type = att_type.
    objpack-obj_name = 'ATTACHMENT'.
    objpack-obj_descr = whatname.
    APPEND objpack.
    Receiver List
    Already done thru fm
    ENDFORM. "ml_prepare
    FORM
    FORM ml_dosend.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    document_data = docdata
    put_in_outbox = 'X'
    commit_work = 'X' "used from rel. 6.10
    IMPORTING
    SENT_TO_ALL =
    NEW_OBJECT_ID =
    TABLES
    packing_list = objpack
    object_header = objhead
    contents_bin = objbin
    contents_txt = objtxt
    CONTENTS_HEX = objhex
    OBJECT_PARA =
    object_parb =
    receivers = reclist
    EXCEPTIONS
    too_many_receivers = 1
    document_not_sent = 2
    document_type_not_exist = 3
    operation_no_authorization = 4
    parameter_error = 5
    x_error = 6
    enqueue_error = 7
    OTHERS = 8
    IF sy-subrc <> 0.
    MESSAGE ID 'SO' TYPE 'S' NUMBER '023'
    WITH docdata-obj_name.
    ENDIF.
    ENDFORM. "ml_customize
    FORM
    FORM ml_spooltopdf USING whatspoolid.
    DATA : pdf LIKE tline OCCURS 0 WITH HEADER LINE.
    Call Function
    CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
    EXPORTING
    src_spoolid = whatspoolid
    TABLES
    pdf = pdf
    EXCEPTIONS
    err_no_otf_spooljob = 1
    OTHERS = 12.
    Convert
    PERFORM doconv TABLES pdf objbin.
    ENDFORM. "ml_spooltopdf
    FORM
    FORM doconv TABLES
    mypdf STRUCTURE tline
    outbin STRUCTURE solisti1.
    Data
    DATA : pos TYPE i.
    DATA : len TYPE i.
    Loop And Put Data
    LOOP AT mypdf.
    pos = 255 - len.
    IF pos > 134. "length of pdf_table
    pos = 134.
    ENDIF.
    outbin+len = mypdf(pos).
    len = len + pos.
    IF len = 255. "length of out (contents_bin)
    APPEND outbin.
    CLEAR: outbin, len.
    IF pos < 134.
    outbin = mypdf+pos.
    len = 134 - pos.
    ENDIF.
    ENDIF.
    ENDLOOP.
    IF len > 0.
    APPEND outbin.
    ENDIF.
    ENDFORM. "doconv
    CODE FOR PROGRAM
    5.
    REPORT zam_temp147 .
    INCLUDE zami_inclfor_mail.
    DATA
    DATA : itab LIKE tline OCCURS 0 WITH HEADER LINE.
    DATA : file_name TYPE string.
    data : path like PCFILE-PATH.
    data : extension(5) type c.
    data : name(100) type c.
    SELECTION SCREEN
    PARAMETERS : receiver TYPE somlreci1-receiver lower case.
    PARAMETERS : p_file LIKE rlgrap-filename
    OBLIGATORY.
    AT SELECTION SCREEN
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    CLEAR p_file.
    CALL FUNCTION 'F4_FILENAME'
    IMPORTING
    file_name = p_file.
    START-OF-SELECTION
    START-OF-SELECTION.
    PERFORM ml_customize USING 'Tst' 'Testing'.
    PERFORM ml_addrecp USING receiver 'U'.
    PERFORM upl.
    PERFORM doconv TABLES itab objbin.
    PERFORM ml_prepare USING 'X' extension name.
    PERFORM ml_dosend.
    SUBMIT rsconn01
    WITH mode EQ 'INT'
    AND RETURN.
    FORM
    FORM upl.
    file_name = p_file.
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    filename = file_name
    filetype = 'BIN'
    TABLES
    data_tab = itab
    EXCEPTIONS
    file_open_error = 1
    file_read_error = 2
    no_batch = 3
    gui_refuse_filetransfer = 4
    invalid_type = 5
    no_authority = 6
    unknown_error = 7
    bad_data_format = 8
    header_not_allowed = 9
    separator_not_allowed = 10
    header_too_long = 11
    unknown_dp_error = 12
    access_denied = 13
    dp_out_of_memory = 14
    disk_full = 15
    dp_timeout = 16
    OTHERS = 17.
    path = file_name.
    CALL FUNCTION 'PC_SPLIT_COMPLETE_FILENAME'
    EXPORTING
    complete_filename = path
    CHECK_DOS_FORMAT =
    IMPORTING
    DRIVE =
    EXTENSION = extension
    NAME = name
    NAME_WITH_EXT =
    PATH =
    EXCEPTIONS
    INVALID_DRIVE = 1
    INVALID_EXTENSION = 2
    INVALID_NAME = 3
    INVALID_PATH = 4
    OTHERS = 5
    ENDFORM. "upl
    regards,
    amit m.

  • I plugged in my brand new nano to my husbands desktop to get it registered, but had a problem mid way through when I tried to used an apple login that already existed.  Now it's not registered and the computer won't recognize my device.  How do I fix this

    I plugged in my brand new nano to my husbands desktop to get it registered, but had a problem mid way through when I tried to used an apple login that already existed.  Now it's not registered and the computer won't recognize my device.  How do I fix this?

    iPod not recognized in 'My Computer' and in iTunes for Windows
    Call U.S. iPod and Mac technical support: 1-800-APL-CARE (1-800-275-2273) to register your iPod Nano.

  • How to deal with "Error 1001. The specified service already exists" when install a service using installer package?

    Hi everybody,
    I wrote a "Class Library" project which is a service using Visual Stodio 2008 recently, then tried to use a Visual Studio 2008
    Setup Project to install it.
    Here is what I did for the "Class Library":
    1. Finish the program.cs, Service.cs
    2. Add Installer
    3. Change the serviceInstaller so that "StartType" to be Aotumatic
    4. Change the ServiceProcessInstaller2 so that "Account" to be LocalSystem
    5.
    6. Click in F5 (Start Debugging)
    Here is what I did for the Setup Project:
    1. Add the exe file built from the "Class Library" project to the Application Folder
    2. On the Custom Action Editor, add the exe file from 1 to Install and Commit
    3. Change the property of the project so that "RemovePreviousVersion" to be true
    4. Click on F6(Build Solution)
    Then I tried to run the msi file from the built of the Setup Project. Because I modified the two projects serveral times, I uninstalled the Class Library using "Control Panel->Add or Remove Programs" before I reinstall. Two things I notived:
    1. After unstall, the registry was not cleaned up about the installed program
    2. After several rounds install/uninstall, I got "Error 1001. The specified service already exists"
    My questions are:
    1. How to cleanup the registry when uninstall a program?
    2. How to deal with the "Error 1001. The specified service already exists"?
    3. Did I do anytbing wrong with the "Class Library" or the "Setup Project"?
    Thanks a lot!
    Helen

    Hi Simon, not a problem!
    I spent some more time on this and here are few more notes:
    it is called Major Upgrade, when you are installing new version of the product upon a previous one and
    MSI supports 2 strategies:
    Strategy 1. Install a new version and uninstall previous one. (Install a new version right upon previously installed version (file merging is performed based on dll version number) and the delete previously
    installed files)
    Strategy 2. Uninstall previous version and install a new one (Delete all previous files and install from scratch new files.)
    From the first look it seems that 1st strategy is weird and buggy. But, remember, MSI is great because it's transactional!!! That means that if once some of the phases (Installation, Uninstallation, Rollback, Comit) fails, your machine
    will be reverted to the previous state and it'll be still functional. 
    Let's consider both strategies:
    Consider you have installed product_v1.msi and you want to install product_v2.msi.
    Strategy 1
    1. MSI engine copies files from Product_v1 directory to TEMP directory
    2. MSI engine merges files based on the assembly version (between v1 and v2)
    3. Once merging is completed successfully it removes files in TEMP (RemoveExistingProducts  action triggers it) and you got product_v2 installed, otherwise if it fails MSI engine revert machine to V1 and copies previous files from TEMP.
    Strategy 2
    1. MSI engine tottaly removes all files from v1.
    2. MSI engine installs v2 files and if something goes wrong you cannot revert back, because RemoveExistingProducts  allready worked out and MSI doesn't have files to revert machine back
    I recommend to everybody to use Strategy 1 and leverage MSI transaction functionality. And you can set this strategies by defining sequence of RemoveExistingProducts action. See more info
    here.  So, I think it's not even a bug in VS as I said in the upper post it is default recommened behaviour.
    AND, you got "Error 1001. The specified service already exists"
    because if we follow Strategy 1 MSI engine tries to install Windows Service on top of the existing service and OF COURSE it fails MSI engine (StopServices, DeleteServices actions are executed before actual
    installation and  they look at ServiceControl table). In order to stop service first and delete them you have to fill ServiceContol table of the MSI (and then StopServices, DeleteServices actions will recognize what to they have to stop
    and delete), like this:
    *clip*clip*clip*
    ' see http://msdn.microsoft.com/en-us/library/windows/desktop/aa371634(v=vs.85).aspx for more info
    ' Update the Service Entry to stop and delete service while uninstalling
    query = "INSERT INTO ServiceControl (ServiceControl, Name, Event, Arguments, Wait, Component_) VALUES ('MAD_Service', 'Service name', '160', '', '1', '"
    + componentName + "')"
    Set view = database.OpenView(query)
    : CheckError
    view.Execute : CheckError
    ' Update the Service Entry to stop and delete service while installing
    query = "INSERT INTO ServiceControl (ServiceControl, Name, Event, Arguments, Wait, Component_) VALUES ('MAD2_Service', 'Service name', '10', '', '1', '"
    + componentName + "')"
    Set view = database.OpenView(query)
    : CheckError
    view.Execute : CheckError
    *clip*clip*clip*
    We can uninstall service first by following Strategy 2, but then we lose transactional support.
    So, Simon did I encourage you to change your code a bit?:)
    And, btw, if you don't want to change the strategy, please don't rely on SequenceID in MSI table, it can be change, you have to get the at the runtime.
    Hope it will help to everybody!
    See also more advanced explanation of how MSI works
    here.
    Truly yours, Marat

Maybe you are looking for

  • ITunes 10.6.3 is in my downloads, but when I click nothing happens?

    I downloaded iTunes 10.6.3 because thats what I need to plug my phone in, but I click on the download after it's complete and it brngs me to my iTunes but nothings changed. What do I do I just need this update!!?

  • Adobe Acrobat Pro 11.0.04 update failed

    I clicked on the update for 11.0.04.  The update seemed to install.  When I try to launch Acrobat it keeps going into installion mode but eventually just closes.  Installed 11.0.05 with no changes to problem.  Tried to repair it but the repair does n

  • Trouble downloading updates to iOS4

    Hi, I have been trying for a few months now to download & update the latest software to my iPhone 4 but everytime it gets right to the very end, an error message (err = -3259) appears saying that my network connection timed out and to check network s

  • Application object check if running

    I might be over looking something quite simple - is there way to do the following. User open app from NAL it check to see if that app is already running, if so don't run!

  • Can't download Firework CS6 through Creative Cloud

    I tried to download and install Firework CS6 through my Creative Cloud, but there is no way letting me download it. I went to adobe download center to download it, but it keep leading me to my Creative Cloud app and in there only shows Firework CS6 "