A new Flexera Community experience is coming on November 25th. Click here for more information.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Hi all

i defined a custom action in my MSI Paket which will copy the settings from the network to the local client in the following folder:

C:\Document and Settings\actualloggedinuser\local settings\applicationdata

now if i test the MSI the CA copies the settings to

C:\Document and Settings\applicationdata

instead to the path above

any ideas, why this occurs?

thanks for your help

BTW: this settings are for the new Firefox Browser and if they are on the wrong location the userdefined Browsersettings won't be activated
(3) Replies
Hi Altherr,

This sounds like a Directory Table issue. Can you post a few things so we can see what's going on? Namely:

1. The Custom Action details--what property is it setting, and what property is it getting the value from?
2. What is the Directory Parent in the Directory table of the property you're setting? If you don't know, open the MSI in Direct Edit mode, and go to the Direct Editor's Directory table.

Let me know if you aren't sure what I'm talking about, and I can PM some more detailed instructions. Or, you an post the uncompressed MSI file that results from running: msiexec.exe /a "c:\package.msi"
Cary R

thanks for your answer

Well within the CA the following exe will be called


--------------------------------------------------------------------------
rem this batch creates a default Firefox Profile with Company Standards already included

rem first of all check if profile already exsits, if so delete it from local profile
rem

rd /s /q "C:\DOKUME~1\%username%\ANWEND~1\mozilla

rem now set path to server location (where profile resides)
set SHAREPATH="\\servername\sw$\Browser\Firefox2.0.7\mozilla"

rem and set local Path depending on actually logged in network user

set LOCALPATH="C:\DOKUME~1\%username%\ANWEND~1\mozilla"

rem now copy the whole stuff to local profile
xcopy %SHAREPATH%\* %LOCALPATH%\ /e /v /i

exit

-------------------------------------------------------------------------

if a call the batch within the MSI the following Folder on
C:\Documents and Settings" will be created

"ANWEND~1"

which is of course incorrect

the following path is the right one

c:\Documents and Settings\username\Application Data\....

i putted you the whole overview of the MSI Package (esp. the Directory Tables and INI FIles Structures) and the build log.txt to an attachment

hope this helps
Hi Cary R

well now i found the solution :

if i choose the option "Custom Action --> Exe --> Path referencing a directory" and if i set the path to the root(_) the settings, which means the call of the exe (copysettings.exe), will be copied to the correct location and Firefox runs correctly with our firm specific settings great !!

but not delete after uninstalling, do i need for this a separate CA ?

thanks again for your help

so it seemed to be effectively (as you mentioned) a Directory Table Problem
🙂