Aug 2, 2011 at 3:05 PM
Edited Aug 2, 2011 at 3:06 PM
Hi I think I may have a solution but I was not be able to test it yet due to build problems:
"C:\DotNetInstaller\trunk\InstallerMsi\InstallerMsi.wixproj" (Clean target) (14) ->(_SetDefaultPathValues target) -> C:\DotNetInstaller\trunk\ThirdParty\Wix\wix200x.targets(447,5): error
MSB4062: The "ReadRegistry" task could not be loaded from the assembly C:\Program Files (x86)\MSBuild\Microsoft\WiX\v3.x\WixTasks.dll. Could not load file or assembly 'file:///C:\Program Files (x86)\MSBuild\Microsoft\WiX\v3.x\WixTasks.dll'
or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.
What I think that could fix the window-freezes-when-running-in-silent-mode issue is:
In dotNetInstallerDlg.cpp file line 93 ... 94 there are a few lines that calls the method MoveWindow and sets the properties for the dialog position and components position, if we check before if it is not ran in Silent mode it
could fix it (because when it is ran in silent mode we do not need to set window sizes . positions as they are not visible) ...
Finally the result would be doing something like this in the given lines:
if (! InstallUILevelSetting::Instance->IsSilent())
MoveWindow(* this, p_configuration->dialog_position);
But as I said before I was not able to test it yet due to compilation errors.
What do you think?