c# 3.0 - filesavedialog.showdialog hangs in windows 7 -
c# 3.0 - filesavedialog.showdialog hangs in windows 7 -
i making custom setup project msi. there unusual problem in 1 of windows while installation goes. there show dialog phone call on click of button. installer running fine on xp on win 7 installer goes not-responding , never comes back. below piece of code using showing dialog:
private void btnsetfilelocationws_click(object sender, eventargs e) { savefiledialog1.title = "set ws log file path"; savefiledialog1.defaultext = "log"; savefiledialog1.filter = "log files (*.log)|*.log|text files (*.txt)|*.txt"; savefiledialog1.filterindex = 0; savefiledialog1.restoredirectory = true; if (savefiledialog1.showdialog() == dialogresult.ok) { txtfilepathws.text = savefiledialog1.filename; } btnnextwslogging.enabled = enabledisablednextwsloggingbutton(); }
anybody??
the msi running under business relationship doesn't have access desktop. this thread suggests possible workaround, setting autoupgradeenabled false.
to prepare properly, need set msidbcustomactiontypenoimpersonate in msi, need utilize orca msi editor.
windows-7 c#-3.0 windows-installer
Comments
Post a Comment