Jump to content

Create MSI silently without gui elements


Recommended Posts

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

Link to comment
Share on other sites

Hello Rick,

 

here is the error message. Sorry it is in german, but i think you will understand the message.

 

Quote
- <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>

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...