I've made a installer using Inno Setup, and I need to restart computer after some files was run, so I used the solution from this post.
The inno setup sample 'CodePrepareToInstall.iss' works fine, so I used the code for my test installation but my installer don't start after computer reboots.
Both installer (inno demo and my test) add a registry entry in 'HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce', the only difference is the added value. My sting ist much longer than the added string from inno demo.
Is there a value legth limitation in registry/runonce?
Inno Demo Value:
"C:\Users\Admin\Documents\Inno Setup Examples Output\setup.exe" /restart=1 /LANG=default /DIR="C:\Program Files (x86)\My Program" /GROUP="My Program"
My Installer Value:
"C:\Users\Admin\Documents\Inno Setup Projekte\Treiber Test\bin\Driver Test Setup.exe" /restart=1 /LANG=german /DIR="C:\Driver" /GROUP="Driver Test Setup" /TYPE="full" /COMPONENTS="1234driverinstaller,audio,bluetooth,chipset,devicepowermanager,gps,inputmanagementservice,modem,lan,1234powerplan,touchscreen,vga,wlan,wwan,1234products"
Aucun commentaire:
Enregistrer un commentaire