Nelvin Posted April 17, 2017 Share Posted April 17, 2017 Hi Folks, i like to automate the msi creation for deployment as cronjob. Unfortunely the setup needs gui elements and stops with an error when it rans as cronjob. This is normal because the installer needs an gui to create the msi file. paint.net.$CURRENTVERSION.install /createmsi CHECKFORUPDATES=0 CHECKFORBETAS=0 JPGPNGBMPEDITOR=1 TGAEDITOR=1 DESKTOPSHORTCUT=0 $CURRENTVERSION=4.0.16 Is there a way or an plan to create an msi completely silent? Nelvin Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted April 17, 2017 Share Posted April 17, 2017 What's the error it shows? Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Nelvin Posted April 20, 2017 Author Share Posted April 20, 2017 Hello Rick, here is the error message. Sorry it is in german, but i think you will understand the message. Quote - <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> - <System> <Provider Name=".NET Runtime" /> <EventID Qualifiers="0">1026</EventID> <Level>2</Level> <Task>0</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2017-04-17T06:04:28.000000000Z" /> <EventRecordID>4383</EventRecordID> <Channel>Application</Channel> <Computer>nelvins-laptop.zuhause.intra</Computer> <Security /> </System> - <EventData> <Data>Anwendung: SetupFrontEnd.exe Frameworkversion: v4.0.30319 Beschreibung: Der Prozess wurde aufgrund einer unbehandelten Ausnahme beendet. Ausnahmeinformationen: System.InvalidOperationException bei System.Windows.Forms.MessageBox.ShowCore(System.Windows.Forms.IWin32Window, System.String, System.String, System.Windows.Forms.MessageBoxButtons, System.Windows.Forms.MessageBoxIcon, System.Windows.Forms.MessageBoxDefaultButton, System.Windows.Forms.MessageBoxOptions, Boolean) bei PaintDotNet.SystemLayer.UIUtil.MessageBoxClassic(System.Windows.Forms.IWin32Window, System.String, System.String, System.Windows.Forms.MessageBoxButtons, System.Windows.Forms.MessageBoxIcon) bei PaintDotNet.SystemLayer.UIUtil.MessageBoxViaTaskDialog(System.Windows.Forms.IWin32Window, System.String, System.String, System.Windows.Forms.MessageBoxButtons, System.Windows.Forms.MessageBoxIcon) bei PaintDotNet.SystemLayer.UIUtil.MessageBox(System.Windows.Forms.IWin32Window, System.String, System.String, System.Windows.Forms.MessageBoxButtons, System.Windows.Forms.MessageBoxIcon) bei PaintDotNet.Setup.SetupWizard.Main(System.String[])</Data> </EventData> </Event> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.