SYSTEM PATH x64

Вопросы касающиеся инсталлятора CreateInstall версии 4.0 и выше

Moderator: Moderator

Postby musicstashall » Fri Jun 18, 2010 9:51 pm

Да, получилось все отлично! SysNativ работает, и не надо перенаправление отключать, а то оказывается это довольно опасная вещь.
А вы не могли бы по-подробнее разузнать из той статьи о функции CreateProcessAsUser, уж очень заинтересовала меня такая возможность, а я сам не очень в английском... :)
musicstashall
 
Posts: 90
Joined: Thu Sep 24, 2009 6:16 pm

Postby gentee » Sun Jun 20, 2010 6:17 pm

Я почитал про CreateProcessAsUser. Это очень специфическая функция. Вызываемый процесс создается как бы в отдельной копии рабочего пространства, как если бы пользователь зашел под своим именем и запустил процесс. Причем нет возможности при таком вызове использовать GUI или другой интерактив.
По крайней мере я так понял.
Есть еще похожая функция CreateProcessWithLogon.
Alexey Krivonogov
Gentee's Developer Team
gentee
Site Admin
 
Posts: 2592
Joined: Mon Apr 17, 2006 4:14 am

Postby musicstashall » Sun Jun 20, 2010 7:28 pm

Я думаю вам просто необходимо осуществить использование всех этих полезных функций с возможностью выбора в опциях Createinstall :!:
musicstashall
 
Posts: 90
Joined: Thu Sep 24, 2009 6:16 pm

Postby gentee » Mon Jun 21, 2010 4:49 pm

Эти же функции все равно требуют логин и пароль.
То есть из-под юзера нельзя будет запустить что-то с правами админа, если не знаешь логин и пароль.
Alexey Krivonogov
Gentee's Developer Team
gentee
Site Admin
 
Posts: 2592
Joined: Mon Apr 17, 2006 4:14 am

Postby MacXXL » Sun Sep 05, 2010 4:09 pm

Guys, I'm probably solving exactly what is described above, but my Russian isn't excellent, so I would like to ask you for translation into English of following issue:

I need to place some DLLs to the System32 directory on the 64-bit system during the installation. Even if I'm using "SYSTEM PATH" and DLLs are clearly x64 coded, the installer is placing it to the SysWOW64 directory. Is there any way how to force installer place DLLs to System32, please?
MacXXL
 
Posts: 4
Joined: Sun Sep 05, 2010 10:35 am

Postby MacXXL » Sun Sep 05, 2010 7:10 pm

MacXXL wrote:Guys, I'm probably solving exactly what is described above, but my Russian isn't excellent, so I would like to ask you for translation into English of following issue:

I need to place some DLLs to the System32 directory on the 64-bit system during the installation. Even if I'm using "SYSTEM PATH" and DLLs are clearly x64 coded, the installer is placing it to the SysWOW64 directory. Is there any way how to force installer place DLLs to System32, please?

It seems I was successful in reading Russian texts :wink: and the install already works. Thanks for this!

The only issue is that files copied to the Sysetm32 folder after above described bypass will remind there after uninstall. Do you have a solution for this, please?
MacXXL
 
Posts: 4
Joined: Sun Sep 05, 2010 10:35 am

Postby gentee » Mon Sep 06, 2010 6:06 am

The only issue is that files copied to the Sysetm32 folder after above described bypass will remind there after uninstall. Do you have a solution for this, please?


I didn't understand you well. Can you explain more details?
Alexey Krivonogov
Gentee's Developer Team
gentee
Site Admin
 
Posts: 2592
Joined: Mon Apr 17, 2006 4:14 am

Postby Guest » Mon Sep 06, 2010 6:52 am

Sorry for my basic impressions, here we re in deeper detail:

My install need to recognize Win32 or Win64 and copy different files to the system folder (System32). It's a must to be System32 folder on Win64 system as well, so I read your Russian texts and used the solution you provided to musicstashall before. Thanks again for this solution.

The current situation is, that I'm able to bypass the rule for placing files to the SysWOW64 and installer is properly placing files to the System32.

The problem is, that during the uninstall process, files placed in the System32 folder during the installation, will remind there, so are not deleted during the uninstall. Is there any rule what the uninstall script should contain to remove files from System32 folder in Win64?
Guest
 

Postby gentee » Tue Sep 07, 2010 5:00 am

What path to system files is specified in uninstall.ini file?
Alexey Krivonogov
Gentee's Developer Team
gentee
Site Admin
 
Posts: 2592
Joined: Mon Apr 17, 2006 4:14 am

Postby MacXXL » Tue Sep 07, 2010 6:47 am

There are properly set records to folder C:\Windows\system32\, but as I wrote earlier, no deletion duting the uninstall. :?
MacXXL
 
Posts: 4
Joined: Sun Sep 05, 2010 10:35 am

PreviousNext

Return to CreateInstall