Page 1 of 1

Windows 8 x64 Drive C:\ And Registry

PostPosted:29 Aug 2013, 02:35
by zahin.intel
Hello all help me about Drive C:\ Windows 8 x64 + Registry...

I'm looking for an answer but still not clear on the internet for two files Program Files + Program Files (x86) extant same Windows 7...

Because I want to make an application in the form of the MSI silent install procedure code in two differing...

If still remain the same as Windows 7 I do not worry about the two files Program Files...

I use Windows 7 now...

This is my script create MSI Core x86 32 bit :

Windows 8 - C:\ :thinking:
Windows 7 - C:\Program Files\WinSnap
Windows XP - C:\Program Files\WinSnap


This is my script create MSI Start Menu x86 32 bit :

Windows 8 - C:\ :thinking:
Windows 7 - C:\ProgramData\Microsoft\Windows\Start Menu\Programs\WinSnap
Windows XP - C:\Documents and Settings\All Users\Start Menu\Programs\WinSnap


Registry x86 32 bit :

[HKEY_CURRENT_USER\Software\Alexander Avdonin\WinSnap]

[HKEY_CURRENT_USER\Software\Alexander Avdonin\WinSnap\4.0]

[HKEY_LOCAL_MACHINE\SOFTWARE\Alexander Avdonin]

[HKEY_LOCAL_MACHINE\SOFTWARE\Alexander Avdonin\WinSnap]
@="C:\\Program Files\\WinSnap"
"VersionMajor"=dword:00000004
"VersionMinor"=dword:00000000
"VersionBuild"=dword:00000008
"VersionRevision"=dword:00000000
"RegName"="TweakScene"
"RegCode"="22222-22222-22222"


Registry x64 64 bit : :thinking:

Hope there willing to help me...Thanks...

Re: Windows 8 x64 Drive C:\ And Registry

PostPosted:29 Aug 2013, 11:58
by TheAslan
When you create silent installer you can use this path:

C:\Program Files

Why this path above, because this path will work in both x64 and x86.

For example:

x64 has C:\Program Files path
x86 has C:\Program Files path

Do not choose C:\Program Files (x86) as a path because x86 OS does not have that path.

Example of my Defraggler silent installer:

Path=C:\Program Files
Setup=dfsetup215_slim.exe /S
TempMode
Silent=1
Overwrite=1


I hope this helps you, feel free to ask more, I will help you.

TIP:

Sometimes when you install some apps in x64 based Windows, it will add some registry keys here:

HKEY_CURRENT_USER\Software\Wow6432Node

I think this Wow6432Node path above is meant for x64 based apps, I'm not 100% sure though.

Re: Windows 8 x64 Drive C:\ And Registry

PostPosted:29 Aug 2013, 15:34
by ricktendo
If the program is 32 bit you are going to have to use HKLM\Software\Wow6432Node, the HKCU does not need it

BTW looks like WinSnap has a 64 bit EXE so there is no need for this

BTW I am not entirely clear what you mean about the C:\ stuff

Re: Windows 8 x64 Drive C:\ And Registry

PostPosted:04 Sep 2013, 06:55
by zahin.intel
Thanks TheAslan you are the best and good listener...
I just add small code and working...Thanks mate...

Example...

Image

ricktendo ยป Fri Aug 30, 2013 12:34 am wrote:If the program is 32 bit you are going to have to use HKLM\Software\Wow6432Node, the HKCU does not need it

BTW looks like WinSnap has a 64 bit EXE so there is no need for this

BTW I am not entirely clear what you mean about the C:\ stuff


Thanks ricktendo you are the best thingking...
I mean when we install applications that normal...

- C:\Program Files

or

- C:\Program Files (x86)

I prefer to follow the way of the original install applications submitted in the normal position...
then I make a new MSI...

This is my script create MSI Core x86 32 bit + x64 64 bit :

C:\Program Files\SFXMaker
C:\Program Files (x86)\SFXMaker


Thanks again all help me...