compose-multiplatform icon indicating copy to clipboard operation
compose-multiplatform copied to clipboard

Need "Start after install complete" option in configuration of windows installer

Open Mina-1316 opened this issue 1 year ago • 2 comments

Hello community!

I'm currently using Kotlin Multiplatform to provide dedicated purpose softwares, and I've implementated an automatic software update by just executing the installer generated by the options below:

compose.desktop.nativeDistributions {
            windows {
                perUserInstall = true
                dirChooser = false
                upgradeUuid = properties["application.installer.updateid"] as? String
                exePackageVersion = packageVersion
                msiPackageVersion = packageVersion
                shortcut = true
                iconFile.set(file("$projectDir/assets/icon.ico"))
            }
}

By this options, Installer will automatically update the software, without user operation, with creating shortcuts. However, I want to make application automatically start after install is done.

Is there any options to make it done? maybe this issue is related to this: https://github.com/JetBrains/compose-multiplatform/issues/1972

Mina-1316 avatar May 24 '24 09:05 Mina-1316

btw, maybe seperatable issue, installer's intallationPath is not applied when dirChooser = false...

Is it intended behavior?

Mina-1316 avatar May 24 '24 09:05 Mina-1316

btw, maybe seperatable issue, installer's intallationPath is not applied when dirChooser = false...

Is it intended behavior?

Sounds like a bug, we'll check here. Thanks!

igordmn avatar May 24 '24 16:05 igordmn

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

okushnikov avatar Aug 26 '24 13:08 okushnikov