PDA

View Full Version : Problem with SetProperty and 'is::CmdLine'



Sorenhes
03-18-2008, 09:25 AM
Hello,

We recently migrated our InstallShield 12 projects to InstallShield 2008 and we are having problems with our OCI setups.

We modified our web pages so that we pass custom properties on the command line, since these are no longer supported, but we encountered a problem with the -l (language parameter) and -ig (installation unique identifier parameter). When we use the following instruction in the web page :

ether.SetProperty( "is::CmdLine", /l0x1009 /C0" ); //English

the /l is processed by the setup since when we display the value of CMDLINE in our installscript and we get "/C0". But when we run on a french OS, the setup runs in french instead of english and when we pass /l0x0c0c (French Canada) and run on a english OS it runs in english. It is as if the /l parameter is processed but ignored.

As for the /ig parameter, it is processed and ignored since the GUID that is found in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall is the GUID that is assigned to the setup project. Is it still possible to override the GUID on the command line ?

If anyone has encountered this problem, any help would be appreciated.

Thanks

Robert