Wise not accepting uncompressed files
G'Day Everyone,
Really bizarre.
We use uncompressed files for our packages and in the last week we have been unable to add files to our packages referencing the uncompressed file location. We usually change the file attribute to 9216 for instance and leave the sequence number less than the maximum as stated in the media table.
However until recently the added files are failing to install unless they are compiled within a cab file. Otherwise the file fails to install and prompts for the source path in the root of our Project directory (in our dev lab) from where the msi is launched.
Any ideas on how to revert this?
TIA
Wayne
Really bizarre.
We use uncompressed files for our packages and in the last week we have been unable to add files to our packages referencing the uncompressed file location. We usually change the file attribute to 9216 for instance and leave the sequence number less than the maximum as stated in the media table.
However until recently the added files are failing to install unless they are compiled within a cab file. Otherwise the file fails to install and prompts for the source path in the root of our Project directory (in our dev lab) from where the msi is launched.
Any ideas on how to revert this?
TIA
Wayne
0 Comments
[ + ] Show comments
Answers (5)
Please log in to answer
Posted by:
AngelD
16 years ago
Posted by:
WayneB
16 years ago
Thnaks Kim for the reply,
I have been following this method from the sdk File Table:
"For files that aren't compressed, the sequence numbers need not be unique. For instance, if all your files are uncompressed, and all reside on one disk, you could give all the files the same sequence number."
My workmate has been following the other method of increasing the Media.LastSequence number to greater than the last File.Sequence (which if I understand you correctly, is what you do) and we still get the same result.
The install fails to find the source file in the root of the project directory (where the launched msi resides). Checking that file paths are all relative and WiseSourcePath points to the correct folder path. However when we remove and re-add the file so that it creates a default cab file, the install finishes without problems.
Really our methodology hasn't changed in the last week (for either of us here) and we have had no issues with this before. I appreciate that it might not be an issue for most; and maybe we should just change our methodes, but I am curious to find out why it is now occuring.
If anyone has any ideas please reply.
TIA
Wayne
I have been following this method from the sdk File Table:
"For files that aren't compressed, the sequence numbers need not be unique. For instance, if all your files are uncompressed, and all reside on one disk, you could give all the files the same sequence number."
My workmate has been following the other method of increasing the Media.LastSequence number to greater than the last File.Sequence (which if I understand you correctly, is what you do) and we still get the same result.
The install fails to find the source file in the root of the project directory (where the launched msi resides). Checking that file paths are all relative and WiseSourcePath points to the correct folder path. However when we remove and re-add the file so that it creates a default cab file, the install finishes without problems.
Really our methodology hasn't changed in the last week (for either of us here) and we have had no issues with this before. I appreciate that it might not be an issue for most; and maybe we should just change our methodes, but I am curious to find out why it is now occuring.
If anyone has any ideas please reply.
TIA
Wayne
Posted by:
AngelD
16 years ago
True, the File.Sequence is only vital for compressed files.
My workmate has been following the other method of increasing the Media.LastSequence number to greater than the last File.Sequence (which if I understand you correctly, is what you do) and we still get the same result.
I mean if Media.LastSequence is 10 the File.Sequence should be 11, there must always exist a Media table entry for all File.Sequence(s).
I would verify the following:
File.Attributes (msidbFileAttributesNoncompressed attribute bit is set)
Directory.DefaultDir ([targetname]:[sourcename] is valid and correct) for Component.Directory_ associated with File.Component_
My workmate has been following the other method of increasing the Media.LastSequence number to greater than the last File.Sequence (which if I understand you correctly, is what you do) and we still get the same result.
I mean if Media.LastSequence is 10 the File.Sequence should be 11, there must always exist a Media table entry for all File.Sequence(s).
I would verify the following:
File.Attributes (msidbFileAttributesNoncompressed attribute bit is set)
Directory.DefaultDir ([targetname]:[sourcename] is valid and correct) for Component.Directory_ associated with File.Component_
Posted by:
anonymous_9363
16 years ago
Posted by:
AngelD
16 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.