Hi,
I've implemented a "Custom Action" with call to a .NET Installer Class.
This action will change the flag "ReadOnly'" to "ReadWrite" of an installed file, because this file is'nt implemented into the setup and was copied from CD.
So I have changed the "Action Data" and add a new "Installer Class Parameter" [APPDIR].
This was now my line in the installer:
/LogFile= /ReqVersion=2.0.50727 /InstallType=notransaction /Action=Install /DataDir="[Data_DIR]" "[#InstallFeatures.dll]" "[TempFolder]dotNetCustAct.dll_Config.xml"
Running Setup creates the error message: "... System.IO.FileNotFoundException...InstallFeatures.dll..."
After editing this line in the aip-project with a text editor and changin the qoute marks from
DataDir="[Data_DIR]"
to
DataDir=[Data_DIR]
all becomes fine.
But changing my Programm Files folder from "TestSetup1" to "TestSetup 1" (only one blank in the folder name) the same error message come.
The problem is, that in an english operating system the program folder is named "Program Files".
So I'm not able to build my setup without any errors.
Hope some one can help.
Regards, Frank
FOLLOW US
Get the latest news in Application Packaging