Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

7-Zip self installer?

- - - - -

  • Please log in to reply
No replies to this topic

#1
marcusj0015

marcusj0015

    Member

  • Member
  • PipPip
  • 154 posts
  • Joined 05-July 09
I'm trying to create a silent installer for my Windows 7 theme, here's my Config.txt

 ;!@Install@!UTF-8!
GUIMode="2"
Path="%Windir%\Resources\Themes\"
Progress="No"
RunProgram="InstallUxStyle.cmd"
;!@InstallEnd@!

and here's my install script.

@ECHO OFF
GOTO DETECT

:DETECT
%PROCESSOR_ARCHITECTURE%
IF AMD64 == AMD64 GOTO AMD64 ELSE GOTO DETECT2

:DETECT2
%PROCESSOR_ARCHITECTURE%
IF x86 == x86 GOTO x86 ELSE GOTO DETECT3

:DETECT3
%PROCESSOR_ARCHITECTURE%
IF IA64 == IA64 GOTO IA64 ELSE GOTO END

:AMD64
msiexec.exe /i "%Windir%\Resources\Themes\Cloud7\UxStyle\UxStylex64.msi" /quiet
GOTO END

:x86
msiexec.exe /i "%Windir%\Resources\Themes\Cloud7\UxStyle\UxStylex86.msi" /quiet
GOTO END

:IA64
Sorry, your architecture isn't supported.
GOTO END

:END
Exit



I'm on Win8 atm because my win7 partition died and obviously my theme is Win7 only, so I can't test it. is this correct, and more importantly, how do I make this actually execute the scripts and programs and everything?

Edited by marcusj0015, 20 July 2012 - 11:15 PM.



How to remove advertisement from MSFN



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN