Announcement

Collapse
No announcement yet.

Winzip

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Winzip

    Here's one for ya!
    I have a zip file that refuses to unzip and add a folder containing .dll files into a temp file. This file is created when a button is clicked (within AMS). Now if I unzip the files outside of AMS the folder is unzipped and added as it should be. Very odd...Any one?

  • #2
    Re: Winzip

    (Need more info.)
    --[[ Indigo Rose Software Developer ]]

    Comment


    • #3
      Re: Winzip

      Hummm What more can I tell?

      Comment


      • #4
        Re: Winzip

        What are the exact settings that you have used in your Zip File Extract action?

        What version of Winzip was it created with?

        Do you receive any error messages when the action is launched? Also make sure the error notification is turned on.

        Comment


        • #5
          Re: Winzip

          Well...I'm finding that it's a zip thing and not an AMS thing. WinZip will NOT allow a folder that has two folders each containing a setup.dll to be uncompressed into a temp file. Apparently the setup.dll files are dropped into the temp folder before the appropriate folders are created to house and separate the two setup.dlls. Which of course you can't have two of the same file in the same folder at the same time. LOL POOP!

          Any one?

          B.T.W I'm using WinZip 8.1

          Comment


          • #6
            Re: Winzip

            Bruce I have no problem over here creating a zip file which contains two folders each containing a file named "setup.dll" and then unzipping it.

            I used Winrar 2.9.

            Corey Milner
            Creative Director, Indigo Rose Software

            Comment


            • #7
              Re: Winzip

              I'll give that a try! Thx Corey

              Comment


              • #8
                Re: Winzip

                np

                Corey Milner
                Creative Director, Indigo Rose Software

                Comment


                • #9
                  Re: Winzip

                  This is not working! Corey, could you please send me your .rar file so I could try it here? Thx buddy!
                  Here's what I have:
                  <IR_ACTIONS_LIST>
                  <Action name="Set Value">
                  <Type>6</Type>
                  <Function>0</Function>
                  <DTIndentLevel>0</DTIndentLevel>
                  <Enabled>1</Enabled>
                  <ErrorHandling>
                  <UserNotificationMode>0</UserNotificationMode>
                  <CustomErrorMessage/>
                  <OnErrorAction>0</OnErrorAction>
                  <JumpToLabel/>
                  </ErrorHandling>
                  <Variable>%ZipPW%</Variable>
                  <Value>nkjh898uyGTfreDCjn76581245Rfrew</Value>
                  <Evaluate>0</Evaluate>
                  </Action>
                  <Action name="Extract">
                  <Type>131</Type>
                  <Function>0</Function>
                  <DTIndentLevel>0</DTIndentLevel>
                  <Enabled>1</Enabled>
                  <ErrorHandling>
                  <UserNotificationMode>1</UserNotificationMode>
                  <CustomErrorMessage/>
                  <OnErrorAction>0</OnErrorAction>
                  <JumpToLabel/>
                  </ErrorHandling>
                  <ZipFileName>%SrcDir%\myfile.zip</ZipFileName>
                  <FilesToExtract>*.*</FilesToExtract>
                  <Delimiter/>
                  <UnzipToFolder>C:\temp</UnzipToFolder>
                  <RecurseSubDirs>0</RecurseSubDirs>
                  <UseInternalDirs>0</UseInternalDirs>
                  <UsePassword>1</UsePassword>
                  <Password>%ZipPW%</Password>
                  <OverwriteOptions>2</OverwriteOptions>
                  <ShowDialog>1</ShowDialog>
                  <DialogTitle>Unzipping Files</DialogTitle>
                  </Action>
                  <Action name="Open">
                  <Type>7</Type>
                  <Function>0</Function>
                  <DTIndentLevel>0</DTIndentLevel>
                  <Enabled>1</Enabled>
                  <ErrorHandling>
                  <UserNotificationMode>0</UserNotificationMode>
                  <CustomErrorMessage/>
                  <OnErrorAction>0</OnErrorAction>
                  <JumpToLabel/>
                  </ErrorHandling>
                  <FileName>%SrcDir%\myfile.exe</FileName>
                  <Verb>open</Verb>
                  <WorkingDir/>
                  <RunMode>0</RunMode>
                  </Action>
                  </IR_ACTIONS_LIST>


                  I don't know wat the prob. is...[scraching head]

                  Comment


                  • #10
                    Re: Winzip

                    Does your Zip have folders within the Zip file? If it does, you may want to check the "Recurse subfolders" options and maybe even the "Use internal zip folder names" option. Since you are using a wildcard to define what is being extracted the recurse option will search through folders in the zip. And the other option will use those foldernames when extracting the files to the temp directory.

                    I also see that you have the unzip location set to C:\temp. You can use %TempDir% as a built in variable to unzip those files to the users temporary directory, which may differe from Windows machine to Windows machine.

                    The File.Open option, are you trying to open a file on the CD or a file that you have extracted?

                    TJ-Tigger
                    TJ-Tigger
                    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
                    "Draco dormiens nunquam titillandus."
                    Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

                    Comment


                    • #11
                      Re: Winzip

                      TIGGER TO THE RESCUE!! LOL
                      I choose C:\temp to make sure it would work on all systems.

                      “are you trying to open a file on the CD or a file that you have extracted?”
                      A file that I have extracted to the C:\temp file.
                      Where are you finding this information ie. "Recurse subfolders" options and maybe even the "Use internal zip folder names"
                      Is this winZip your talking about? what ver.? I'm running 8.1.
                      Thanks Tigg!

                      Comment


                      • #12
                        Re: Winzip

                        %TempDir% would work on all systems as well. I like to work with variables though, for their flexability.

                        The reason I asked the question about the file.open dialog, it you are trying to open the file from %SrcDir%\myfile.exe and not from "C:\temp\myfile.exe".

                        The information on "Recurse subfolders" and "Use internal zip folder names" is from the ZipFile.Extract action. Open that action and look at the Actions tab. It is under the "Unzip to folder:" dialog.

                        Here is the actions list you posted with a few changes I made using the information from my last two posts.

                        <IR_ACTIONS_LIST>
                        <Action name="Set Value">
                        <Type>6</Type>
                        <Function>0</Function>
                        <DTIndentLevel>0</DTIndentLevel>
                        <Enabled>1</Enabled>
                        <ErrorHandling>
                        <UserNotificationMode>0</UserNotificationMode>
                        <CustomErrorMessage/>
                        <OnErrorAction>0</OnErrorAction>
                        <JumpToLabel/>
                        </ErrorHandling>
                        <Variable>%ZipPW%</Variable>
                        <Value>nkjh898uyGTfreDCjn76581245Rfrew</Value>
                        <Evaluate>0</Evaluate>
                        </Action>
                        <Action name="Extract">
                        <Type>131</Type>
                        <Function>0</Function>
                        <DTIndentLevel>0</DTIndentLevel>
                        <Enabled>1</Enabled>
                        <ErrorHandling>
                        <UserNotificationMode>1</UserNotificationMode>
                        <CustomErrorMessage/>
                        <OnErrorAction>0</OnErrorAction>
                        <JumpToLabel/>
                        </ErrorHandling>
                        <ZipFileName>%SrcDir%\myfile.zip</ZipFileName>
                        <FilesToExtract>*.*</FilesToExtract>
                        <Delimiter/>
                        <UnzipToFolder>%TempDir%</UnzipToFolder>
                        <RecurseSubDirs>1</RecurseSubDirs>
                        <UseInternalDirs>1</UseInternalDirs>
                        <UsePassword>1</UsePassword>
                        <Password>%ZipPW%</Password>
                        <OverwriteOptions>2</OverwriteOptions>
                        <ShowDialog>1</ShowDialog>
                        <DialogTitle>Unzipping Files</DialogTitle>
                        </Action>
                        <Action name="Open">
                        <Type>7</Type>
                        <Function>0</Function>
                        <DTIndentLevel>0</DTIndentLevel>
                        <Enabled>1</Enabled>
                        <ErrorHandling>
                        <UserNotificationMode>0</UserNotificationMode>
                        <CustomErrorMessage/>
                        <OnErrorAction>0</OnErrorAction>
                        <JumpToLabel/>
                        </ErrorHandling>
                        <FileName>%TempDir%\myfile.exe</FileName>
                        <Verb>open</Verb>
                        <WorkingDir/>
                        <RunMode>0</RunMode>
                        </Action>
                        </IR_ACTIONS_LIST>
                        TJ-Tigger
                        "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
                        "Draco dormiens nunquam titillandus."
                        Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

                        Comment


                        • #13
                          Re: Winzip

                          Ooh I understand now! Thx Tigg...

                          Comment


                          • #14
                            Re: Winzip

                            Speaking of understanding, thanks to Tigg I just now understand the original question. [img]/ubbthreads/images/icons/smile.gif[/img] Big Karmic points for you today with the double whammy Tigg.

                            Corey Milner
                            Creative Director, Indigo Rose Software

                            Comment

                            Working...
                            X