Check a verbose log & see what's changing & when. Are you using Terminal 
Services on the 2k3 server? Tempfolder is known to work differently from a 
console session & a remote desktop session.
If you can't lock it down you may need to move the files to somewhere which 
won't change like LocalAppDataFolder or CommonAppDataFolder.

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 
0SP
Email Disclaimer

-----Original Message-----
From: Christian Froehlich [mailto:dafr...@yahoo.com] 
Sent: 06 August 2010 01:04
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] TempFolder changes mid-install!?

Hi All,

I was hoping someone could point me in the right direction as i have searched 
everywhere and have found no trace of this issue. Anyway...

I have an installer that functions well and seem  to do everything i'd like, 
except on one system. On this system for some reason the TempFolder appears to 
change during the installation. 
This is a real problem for me as i have separate components that need to  be in 
the same directory when a custom action runs.

Is there any conceivable reason why the TempFolder could change? Am i doing it 
wrong?

The WiX version i am using is: 3.5.1909.0 The server is running Windows 2003

And
 here is an except that generates the files. As you can see i have one DLL that 
gets installed to the same folder as two directories. These 2 directories are 
specified in other files and just contain a bunch of SQL  scripts.

        <Directory Id="TARGETDIR" Name="SourceDir">
            <!-- Temporary files using during install -->
            <Directory Id="TempFolder">
                <Directory Id="D.TempFolder" Name="$(var.ProductGuid)">
                    <Component Id="C.MigrationAssembly" 
Guid="67A41AA3-1A89-47c4-B47D-AD90C3FB4DB4">
                        <File Id="F.MigrationAssembly" 
Source="$(var.DatabaseMigrationsLibPath)" Vital="yes" />
                    </Component>
                    <Directory Id="D.PROCS_DIR" Name="Procedures">
                    </Directory>
                    <Directory Id="D.STORED_PROCS_DIR" Name="StoredProcedures">
                    </Directory>
                </Directory>
            </Directory>
        </Directory>

The weird thing is that on another couple of systems i don't have this issue.
It
 says somewhere in the log "Note: target paths subject to change (via custom 
actions or browsing)", but how could this affect the TempFolder?

Thank you in advance,

Christian Froehlich



      
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to