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

Help importing reg file, please...

- - - - -

  • Please log in to reply
108 replies to this topic

#101
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,731 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Actually from your studies and change it should work fine now.


How to remove advertisement from MSFN

#102
alfreire

alfreire

    Member

  • Member
  • PipPip
  • 121 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Thanks! :)

I know it's out of this thread...but could you try to use these values for testing OSver and OSeditionID, to see if it works for your Windows 7 version (maybe yours is spanish?):

http://www.msfn.org/...ost__p__1009595

Thanks in advance.

Sorry, I read your request in a moment when there was no time, and as was marked as read, I forgot... :} I hope you accept my apology...
Regards... ;-)

#103
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag
I think you have now (if you have a full version es-ES | 1034), inside information window:

language = "ESP"
localisation = "Spanish - Spain (Traditional Sort)"

Edited by myselfidem, 07 September 2012 - 01:32 AM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#104
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag
However about regedit.exe we can change inside installer.js:

http://www.msfn.org/...ost__p__1043118

Thanks and regards
For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#105
jimathome

jimathome

    Newbie

  • Member
  • 17 posts
  • OS:Windows 7 x86
  • Country: Country Flag

I ran in to the same problem rather than fool around and try to understand WHY the darn thing will not import through WPI I made a Winrar SFX and called it from my Autounattend.xml

 

Create WinRAR SFX


Compression: Store
Place SFX script commands in tab commands:

----- START SFX SCRIPT ------

;The comment below contains SFX script commands
Setup=Regedit.exe /I /s Install.reg
TempMode
Silent=1
Overwrite=1

----- END SFX SCRIPT ------


----- START Autounattend.xml ------

            <FirstLogonCommands>
                <SynchronousCommand wcm:action="add">
                    <Order>1</Order>
                    <CommandLine>%Systemdrive%\WPI\WPI.exe</CommandLine>
                    <Description>Program Installation</Description>
                    <RequiresUserInput>false</RequiresUserInput>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <Order>2</Order>
                    <CommandLine>fsutil behavior set EncryptPagingFile 1</CommandLine>
                    <Description>Encrypt the Pagefile</Description>
                    <RequiresUserInput>false</RequiresUserInput>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <Order>3</Order>
                    <CommandLine>%Systemdrive%\Finsh_Install\Windows7_Setup.exe</CommandLine>
                    <Description>System Setup</Description>
                    <RequiresUserInput>false</RequiresUserInput>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <Order>4</Order>
                    <CommandLine>%Systemdrive%\Finsh_Install\Finsh_Install.exe</CommandLine>
                    <Description>System Setup Folder To Desktop</Description>
                    <RequiresUserInput>false</RequiresUserInput>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <Order>5</Order>
                    <CommandLine>%Systemdrive%\Finsh_Install\Cleanup.exe</CommandLine>
                    <Description>Cleanup</Description>
                    <RequiresUserInput>false</RequiresUserInput>
                </SynchronousCommand>
            </FirstLogonCommands>
            <LogonCommands>

----- END Autounattend.xml ------


Edited by jimathome, 25 August 2013 - 07:33 AM.


#106
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,731 posts
  • OS:Windows 7 x64
  • Country: Country Flag

 

I ran in to the same problem rather than fool around and try to understand WHY the darn thing will not import through WPI I made a Winrar SFX and called it from my Autounattend.xml

 

Create WinRAR SFX


Compression: Store
Place SFX script commands in tab commands:

----- START SFX SCRIPT ------

;The comment below contains SFX script commands
Setup=Regedit.exe /I /s Install.reg
TempMode
Silent=1
Overwrite=1

----- END SFX SCRIPT ------


----- START Autounattend.xml ------

            <FirstLogonCommands>
                <SynchronousCommand wcm:action="add">
                    <Order>1</Order>
                    <CommandLine>%Systemdrive%\WPI\WPI.exe</CommandLine>
                    <Description>Program Installation</Description>
                    <RequiresUserInput>false</RequiresUserInput>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <Order>2</Order>
                    <CommandLine>fsutil behavior set EncryptPagingFile 1</CommandLine>
                    <Description>Encrypt the Pagefile</Description>
                    <RequiresUserInput>false</RequiresUserInput>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <Order>3</Order>
                    <CommandLine>%Systemdrive%\Finsh_Install\Windows7_Setup.exe</CommandLine>
                    <Description>System Setup</Description>
                    <RequiresUserInput>false</RequiresUserInput>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <Order>4</Order>
                    <CommandLine>%Systemdrive%\Finsh_Install\Finsh_Install.exe</CommandLine>
                    <Description>System Setup Folder To Desktop</Description>
                    <RequiresUserInput>false</RequiresUserInput>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <Order>5</Order>
                    <CommandLine>%Systemdrive%\Finsh_Install\Cleanup.exe</CommandLine>
                    <Description>Cleanup</Description>
                    <RequiresUserInput>false</RequiresUserInput>
                </SynchronousCommand>
            </FirstLogonCommands>
            <LogonCommands>

----- END Autounattend.xml ------

 

 

There was some fixes made to alot of wpi's sub-systems. WHICH WPI version are you using?



#107
jimathome

jimathome

    Newbie

  • Member
  • 17 posts
  • OS:Windows 7 x86
  • Country: Country Flag

I'm using WPI 8.6.3, and I was executing a sfx rather than the WPI {REGEDIT} command, I found that the WPI\SFX method didn't import HKEY_CURRENT_USER entries although HKEY_LOCAL_MACHINE did, because I already had a D:\GSP1RMCULFRER_EN\sources\$oem$\$1 folder setup it was a quick and dirty fix. LOL I hadn't read the date on this post until I had responded, I was actually looking for the syntax for a second CMD. I just can't get it to execute

correctly.

cmds[pn]=['%root%\\WPI\\Install\\MSDIP\\PI.MSI /qb','%root%\\WPI\\Install\\MSDIP\\PISETUP.EXE'];

Thanks



#108
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,731 posts
  • OS:Windows 7 x64
  • Country: Country Flag

I just figured out your reg issue.

 

If it is not putting in HKCU keys it is because they don't exist until a user has been created and fully logged in.

 

I have many entries that have multiple commands. Are you by chance manually editing config? (That doesn't work anymore BTW)

cmds[pn]=['{DIRCOPY} "%wpipath%\\Install\\ccleaner" "%programfiles%\\CCleaner"','{64} {JSCRIPT}=CreateShortcut("CCleaner"%comma%"C:\\Program Files\\CCleaner\\CCleaner64.exe"%comma%""%comma%"C:\\Program Files\\CCleaner\\CCleaner64.exe"%comma%""%comma%"AllUsersPrograms"%comma%"CCleaner")','{86} {JSCRIPT}=CreateShortcut("CCleaner"%comma%"C:\\Program Files\\CCleaner\\CCleaner.exe"%comma%""%comma%"C:\\Program Files\\CCleaner\\CCleaner.exe"%comma%""%comma%"AllUsersPrograms"%comma%"CCleaner")','{JSCRIPT}=CreateShortcut("CCleaner Enhancer"%comma%"C:\\Program Files\\CCleaner\\CCEnhancer.exe"%comma%""%comma%"C:\\Program Files\\CCleaner\\CCEnhancer.exe"%comma%""%comma%"AllUsersPrograms"%comma%"CCleaner")'];

Edited by Kelsenellenelvian, 27 August 2013 - 12:17 AM.


#109
jimathome

jimathome

    Newbie

  • Member
  • 17 posts
  • OS:Windows 7 x86
  • Country: Country Flag

That's why the Autounattend method works. Kelsenellenelvian I didn't know you couldn't manually edit config.js It's the way I set this unattended install up and I have some 45 programs that install successfully.

 

I use WPI as a platform for sequentially installing programs with limited user interface during installation. I have found that for some programs, particularly those with .bat files packaging it as an sfx and calling it as an .exe saves me some time and trouble. That's why I was confused about the second cmd, I usually don't use it.

 

The example above is what the program (WPI) wrote and I assume it's correct yet on install it just jumped to the second cmd. In this instance I would just make a .bat file and execute it that way but it's like 450 mb, and for some reason .bat files don't run on WPI,  I mean the log shows success but nothing installs. So I am searching for an example syntax that works.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN