PDA

Click to See Complete Forum and Search --> : Why is this code not working with inno setup?


JamieWarren09
May 24th, 2010, 04:38 AM
Hi guy's i am using inno setup to create an installer for my application.

I am using this as part of my code inside of Inno Setup.


[Run]
Filename: "msiexec.exe"; Parameters: "/i ""{app}\setup.msi"" /passive"
Filename: "{app}\vlc.exe"; parameters: /L=1033 /S /NCRC
Filename: "{app}\Live Media Box.exe"; Description: "{cm:LaunchProgram,Live Media Box}"; Flags: nowait postinstall skipifsilent


How ever for some reason it's not installing setup.msi in passive mode, but is installing VLC.exe

But if i remove the second like 'vlc line then it will install setup.msi in passive mode.

Does anyone know why it is doing this?

Thanks

JamieWarren09
May 24th, 2010, 04:39 AM
Crap! Sorry i posted this in the vb 6 forums and not application devolopment. I do apologise, im too use to posting to vb 6 thread. Can anyone move this as i don't know how?

Hack
May 24th, 2010, 06:30 AM
Moved To Application Deployment

JamieWarren09
May 25th, 2010, 10:41 AM
Please can someone help, someone must have an idea on what i can do to fix it.

JamieWarren09
May 28th, 2010, 10:22 AM
PLEASE! why is no one helping :( I cant release my project till i fix this surely someone out of the thousands of members know's a way to fix this. PLEASE

Nightwalker83
May 30th, 2010, 01:55 AM
I'm not sure! However, I noticed you have:


Filename: "{app}\vlc.exe"; parameters: /L=1033 /S /NCRC


Try replacing it with:


Filename: "{app}\setup.msi"; parameters: /L=1033 /S /NCRC


See if that works.