[wix-users] How to do Per user mode installation on specified folders

sampat magi ssmcs060 at gmail.com
Thu Jul 28 07:33:30 PDT 2016


I am using following in .wixproj (basically an msbuild) file
==============================================================================

For msi and cab
================================================================
  <PropertyGroup>
    <SignOutput>True</SignOutput>
    <SignToolPath>C:\Program Files (x86)\Windows
Kits\8.1\bin\x86\</SignToolPath>
  </PropertyGroup>




  <Target Name="SignCabs">
    <Exec Command=""$(SignToolPath)Signtool.exe" sign /f
D:\signing\Sankara.pfx /p 93Cx$1H(4m /t
http://timestamp.verisign.com/scripts/timstamp.dll
"%(SignCabs.FullPath)"" />
  </Target>



  <Target Name="SignMsi">
    <Exec Command=""$(SignToolPath)signtool.exe" sign /f
D:\signing\Sankara.pfx /p 93Cx$1H(4m /t
http://timestamp.verisign.com/scripts/timstamp.dll
"%(SignMsi.FullPath)"" />
  </Target>

=================================================================================
For bootstrapper (WiXStdBA)
=================================================================================


PropertyGroup>
    <SignOutput>True</SignOutput>
    <SignToolPath>C:\Program Files (x86)\Windows
Kits\8.1\bin\x86\</SignToolPath>
  </PropertyGroup>

  <Target Name="SignBundleEngine">
    <Exec Command=""$(SignToolPath)SignTool" sign /f
D:\signing\Sankara.pfx /p 93Cx$1H(4m /t
http://timestamp.verisign.com/scripts/timstamp.dll "@
(SignBundleEngine)""/>
  </Target>

  <Target Name="SignBundle">
    <Exec Command=""$(SignToolPath)SignTool" sign /f
D:\signing\Sankara.pfx /p 93Cx$1H(4m /t
http://timestamp.verisign.com/scripts/timstamp.dll "@
(SignBundle)""/>
  </Target>


===============================================================================================
Regards,
Sampat

On Thu, Jul 28, 2016 at 7:41 PM, <dev at parascadd.com> wrote:

> Thanks David,
> We are using C#.net, i have checked its in C++, If you can share any
> sample code for digitally sign and how to use in wix will be highly
> appreciated.
>
> Thanks Again,
> Ashit
>
>
>
>
> On 28/07/2016 19:29, David Watson wrote:
>
>> You can't, non admin users cannot write to per machine locations by
>> default for security reasons.
>>
>> You can install to program files as admininstrator then patch (msp) to
>> update without being an admin as long as you digitally sign MSIs and
>> patches.
>>
>> https://msdn.microsoft.com/en-us/library/windows/desktop/aa372388(v=vs.85).aspx
>>
>> If your users choose a location within their scope it should work.
>>
>> Dave
>>
>>
>>
>> [http://dr0muzwhcp26z.cloudfront.net/static/corporate/SDL-logo-2014.png]
>> <www.sdl.com/>
>> www.sdl.com
>>
>>
>> SDL PLC confidential, all rights reserved. If you are not the intended
>> recipient of this mail SDL requests and requires that you delete it
>> without acting upon or copying any of its contents, and we further
>> request that you advise us.
>>
>> SDL PLC is a public limited company registered in England and Wales.
>> Registered number: 02675207.
>> Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire
>> SL6 7DY, UK.
>>
>> -----Original Message-----
>> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On
>> Behalf Of dev at parascadd.com
>> Sent: 28 July 2016 14:39
>> To: wix-users at lists.wixtoolset.org
>> Subject: [wix-users] How to do Per user mode installation on specified
>> folders
>>
>> Dear Team,
>> We are using WIX toolset 3.6 and created .msi and .msp using Per-user
>> mode and non admin rights its installing in C:\user\AppData, we want
>> to install on machine at user specified folder . How we can install
>> without admin rights.
>> Thanks in Advance
>>
>> Regards
>> Ashit
>>
>>
>> ____________________________________________________________________
>> WiX Toolset Users Mailing List provided by FireGiant
>> http://www.firegiant.com/
>>
>>
>> This message has been scanned for malware by Websense. www.websense.com
>>
>> ____________________________________________________________________
>> WiX Toolset Users Mailing List provided by FireGiant
>> http://www.firegiant.com/
>>
>
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



More information about the wix-users mailing list