Re #2: DLLs normally have a version number bound directly into the binary.  In 
this case, timestamps alone do not suffice to make a file "newer".  You can 
read about the file versioning rules here:

http://tinyurl.com/5rc27e


Best regards,
-- Leo




________________________________
From: Michael Lin <[EMAIL PROTECTED]>
To: General discussion for Windows Installer XML toolset. 
<wix-users@lists.sourceforge.net>; Rob Mensching <[EMAIL PROTECTED]>
Sent: Wednesday, November 5, 2008 3:29:25 PM
Subject: Re: [WiX-users] Running minor upgrade sample codes

Hi Rob,

1. Can you explain what command option do I use to create the log file?
2. How to make helper.dll a newer version?  All I did was to write a c# utility 
to change the file's last access time.  Is this enough?

Thanks,

Michael


--- On Wed, 11/5/08, Rob Mensching <[EMAIL PROTECTED]> wrote:
From: Rob Mensching <[EMAIL PROTECTED]>
Subject: RE: [WiX-users] Running minor upgrade sample codes
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>, "General discussion for Windows 
Installer XML toolset." <wix-users@lists.sourceforge.net>
Date: Wednesday, November 5, 2008, 3:11 PM

1.  Look in your verbose log file.  It will explain why the original MSI was
required.

2.  Does helper.dll have a newer file version?

-----Original Message-----
From: Michael Lin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2008 14:58
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Running minor upgrade sample codes

I am running the sample codes that came with the wix tutorial (version 2.0) for
minor upgrade.

First of all, I created the initial install package which I named it as
"sampleOld.msi".  The install process ran without any errors.

After that, I created the second install package which I named it as
"sampleNew.msi".  I follow the instruction to open a command prompt
and ran the instruction as follows:
"msiexec /i samplenew.msi REINSTALL=ALL REINSTALLMODE=vomus"

I can see two problems when running this command.
1. If the original install package does not reside on the same directory, it
gave the following error:
"A network error occurred while attempting to read from the file:
C:\temp\Wix
tutorial\lesson4\SampleUpgrade\New\sampleOld.msi"
I have to copy the old file ("sampleOld.msi") from other directory to
the current directory.  I don't think this is neccessary and it is an error.

2. I intentionally "touched" the helper.dll file so that its
timestamp is newer than the old one.  After the upgrade
("sampleNew.msi") is finished, I don't see the new file was
copied.

Anyone has the experiement and how to solve the problems?

Thanks in advance for assistance.

Michael




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




      
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



      
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to